What selector exactly do you have? 
If you want it to work for <loader></loader> element the selector should be 
'loader' and if you want it to work for an attribute then selector should 
be '[loader]' or 'loader, [loader]' if you want it to work for both.

Hope that it helps :)

On Thursday, July 7, 2016 at 9:52:34 AM UTC+2, Simon Azzopardi wrote:
>
> Hi guys,
>
> I am experiencing a strange issue.
>
> I have a component called loader.component.ts, having a selector <loader>
>
> Now, when call it in app.component.ts is working, settings it as a 
> directive etc...
>
> Now, when I call it in another component, such as login.component as 
> <loader></loader> it is not working, with no angular 2 errors.
>
> Any ideas how this is not working?
>
> Thank you
>
> Kind Regards.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to