0
antonis created
Hi,
Why do you use explitic Injector in angular 2 project. As angular suggests it is better to "leave the Automated Dependency Injection do its job"
Thanks
1 Answer(s)
-
0
Hi,
Yes, most of the time it is suggested in that way. We use it to extend our components with a base component <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/master/angular/src/shared/common/app-component-base.ts">https://github.com/aspnetzero/aspnet-ze ... nt-base.ts</a>.