Is it possible to dynamically perform dependency injections? For example, injecting modules later rather than when creating the root app?
I have a website where I want to create one all-encompassing ng-app instead of having separate ng-apps for different sections. Currently, I have the content body as an ng-app and the navigation menu as another app due to its complexity. Now, I want to combine them into one big ng-app that includes both the body content and the navigation menu (and potentially other applications).
The challenge is that the website will have multiple pages, each requiring a different set of modules. The navigation menu module will be common and included in the base module, but how can I inject/load different modules based on the specific page?