So I'm hoping to do some lazy loading in my angular app -- I want to pull down everything I need to render the landing page, and then subsequently pull down the rest.
The problem is, it seems like I have to define all of my angular module dependencies up-front, when I first run the app...
var myApp = angular.module('myApp', []);
// then, after 1st page render:
var myModule = angular.module('myApp.subModule', []);
How do I now inject myApp.subModule into the dependencies of myApp?
Thanks! -Daniel