I\'m using Angular 2.0.0 with TypeScript in ASP.NET Core. My goal is to create AppConfig service in my app, based on server-side variables. With a help from few other answers, I
Your AppConfig provider in @NgModule() shadows the provider passed to bootstrapModule()
AppConfig
@NgModule()
bootstrapModule()
With How to pass parameters rendered from backend to angular2 bootstrap method you should get what you want.