custom directives without attributes can also have angular attributes
custom element directives with DI support
#WEB-13091 fixed