How to include an extra AngularJS module (async loaded) in my app/module after load? -


I want to include a .js file before a certain action. This is a new module in .js. I can not include that module in my app's module because this page does not exist yet when it loads.

Be specific: I am loading as a CKEditor and ng-ckeditor in a router's 'solution' editor The file is too large and I do not need it for its entire app ng-ckeditor defines a module after I load the .js files that app wants to include it in that module.

Is it possible?


Comments