ProvidedIn FeatureModule Is A Confusing Concept For Me In Angular 6.1.9

added by JavaScript Kicks
10/12/2018 12:20:28 PM

804 Views

Ben Nadel gets confused by the "providedIn: FeatureModule" semantics in the @Injectable() meta-data in Angular 6.1.9; and, discovers that you can simply use "providedIn: root" and things will "just work", even if a feature module is lazy-loaded.


0 comments