Loading dynamic module from another url- angular4

Viewed 7723

Is it possible to reference a module (already compile in umd or es format) and load it dynamically in a already compiled angular application?

  1. Main shell application hosted at: http://plugin_shell.mydomain.com
  2. A module (with a bunch of components, services, etc): compiled code is hosted at another url. let say: http://plugins/modules/myfirstplugin.umd.js
  3. When shell load. Load all modules, render specific components, refer to services, use class etc.

I tried to load the module with SystemJsNgModuleLoader.load, but it does seem to work with this kind of use cases.

Thanks

EDIT: Same question (no answer): How to dynamically load external angular 2 module (like served from an external module.bundle.js)

1 Answers
Related