Last active
May 5, 2018 19:54
-
-
Save gparlakov/88f80478efeee7c96824665c35e3b84a to your computer and use it in GitHub Desktop.
ng-gotchas-module-injector
This file contains hidden or 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 injector = {}; //created at app-bootstrap time | |
injector["UserProvider"] = new EagerUserService(); // at EagerModule evaluation time | |
injector["UserProvider"] = new UserService(); // at AppModule evaluation time | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment