They are currently working on code generation. After a build step there won't be any DI and also no lookup, just generated code that calls `new Xxx()` or whatever needs to be done to get a service instance or directive/component instance. The work to lookup up providers and stuff is then only development time.
On Tuesday, March 29, 2016 at 2:33:39 PM UTC+2, Christophe HOARAU wrote: > > Hi Sander, > > Thanks so there's no over cost of using angular DIRECTIVES instead of NgIf > NgFor ... even if I only use one or two of them on my component? > > Thanks. > > Best regards > Christophe > -- 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.
