How to dynamically load external angular 2 module (like served from an external module.bundle.js)
I can dynamically load local modules as someone else did in the plunker here . But how do I load an external module, lets say from a separate bundle js served by another service. In the example plunker, src/app.ts has: constructor(private viewref: ViewContainerRef, private resolver: ComponentFactoryResolver, private loader: SystemJsNgModuleLoader, private compiler: Compiler){ this.module = new ModuleNode(); //can I make this a non-local script reference somehow? //like to http://example.net/external.module.bundle.js this.module.modulePath = "src/dynamic.module#DynamicModule"; this.module