angular-cli-lazy
angular-cli-lazy copied to clipboard
load dinamically
would be good an example where a module is loaded that is not known at compile time, for example: a very common case is that we have an application that loads modules that are indicated through a database
That would not be compatible with AOT compilation, so you'd need to load the whole angular compiler. This article touches on that topic: https://blog.angularindepth.com/here-is-what-you-need-to-know-about-dynamic-components-in-angular-ac1e96167f9e