Allow directive to be added as element or be added as an attribute.

See http://stackoverflow.com/questions/23061958/how-to-use-head-tag-with-angular-directive/23088982