$injector.has('myMessageDirective')
is returning true, while $injector.has('myMessageComponent')
is not.
Has anyone else encountered this issue or found a solution? I am concerned that my components may not be detected in future updates due to the directive check.
Related query: How to verify the existence of an Angular directive