Using InjectorFactory for routerProviders or routerProvidersHash can be automated?
问题 I'm bootstrap angular with runApp and the namend Parameter "createInjector" to define the routerStrategy "routerProviders" or "routerProvidersHash". Is there any way to automate this definition like i wish to do this in my first line? For local development i wish to use "routerProvidersHash" and for live environment is wanna use the "routerProvider". const List<Provider<Object>> routerStrategy = Environment.isLive() ? routerProviders : routerProvidersHash; @GenerateInjector([ routerStrategy,