We have an application where we are lazy loading modules via router. We need to load a some resources before the app module starts, but we don't want to use resolve on router. That's why we are trying to create some provider factory (APP_INITIALIZER) to load some data from server and then use it in components in that lazy loaded module. So every module will have some different settings like translations and so on...
I created a plunker for showcase.
If you click on lazy it should wait 10 seconds to load the module but its not happening.
We are using angular 2.0.0 version. Thanks for any advice.