re-open and add dependencies to an already bootstrapped application
Solution 1:
I solved it like this:
reference the app again:
var app = angular.module('app');
then push your new requirements to the requirements array:
app.requires.push('newDependency');
Solution 2:
Simple... Get an instance of the module using the getter like this: var app = angular.module("App");
Then add to the "requires" collection like this: app.requires[app.requires.length] = "ngResource";
Anyway, this worked for me. GOOD LUCK!
Solution 3:
According to this proposal on the Angular JS google group this functionality does not exist as of this moment. Hopefully the core team decides to add this functionality, could use it myself.