Angular Router with dynamica loaded menu and lazy loaded screen systemjs
How to run? After download, go to folder
npm install
npm start
http://plnkr.co/edit/1fdAYP5PAbiHdJfTKgWo?p=preview
You can see angular, how to:
-
Dynamic load components (app/MyRouterLinks.ts)
-
Routes Lazy loading (app/app.routing.ts)
-
http with rxjs/observable (app/DataServices.ts and more)
Want more discuss? http://stackoverflow.com/questions/38888008/how-can-i-use-create-dynamic-template-to-compile-dynamic-component-with-angular/39341663#39341663
For angular 2.1.2, see: http://plnkr.co/edit/DUH6ZI?p=preview
For this multi-level drop down menu run under electron see :https://github.com/Longfld/AngularRouter4Electron
Check multi-level drop down menu from here: https://github.com/Longfld/DynamicaLoadMultiLevelDropDownMenu