angular - Lazy loading module with APP_INITIALIZER -


we have application lazy loading modules via router. need load resources before app module starts, don't want use resolve on router. that's why trying create provider factory (app_initializer) load data server , use in components in lazy loaded module. every module have different settings translations , on...

i created plunker showcase. https://embed.plnkr.co/ubk23o5ca7qgwlvmbi73/ if click on lazy should wait 10 seconds load module not happening.

we using angular 2.0.0 version. advice.


Comments

Popular posts from this blog

depending on nth recurrence of job in control M -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -