This example shows how Angular HMR can be used to automatically reload lazy routes and lazy (dynamically-loaded) components. This can be extremely helpful for large Angular apps that take a while to JIT compile when they reload.
MIT License
47
stars
13
forks
source link
Use component's module Injector for creating component #3
Component's module Injector should be used despite of caller's context Injector.
e.g. lazyModuleA.injector should be used and not DashboardModule.injector