Last active
May 5, 2018 19:53
-
-
Save gparlakov/105f97a355e502fa734c8adc7e05ed80 to your computer and use it in GitHub Desktop.
ng-gotchas-module-lazy-injector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var lazyInjector = {}; // provided at lazy-module start | |
lazyInjector.prototype = injector; // 'inherit' the root injector | |
// and then at LazyModule instantiation: | |
lazyInjector["UserProfile"] = new LazyUserService(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment