Created
March 19, 2018 19:38
-
-
Save alexzuza/cb4c0c80129ee26776c88252344170df to your computer and use it in GitHub Desktop.
DI example of platform provider
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
const platform = platformBrowserDynamic([ { | |
provide: SharedService, | |
deps:[] | |
}]); | |
platform.bootstrapModule(AppModule); | |
platform.bootstrapModule(AppModule2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment