Can I get a list of all registered modules at run time?
For example:
// Some code somewhere in some .js file var module1 = angular.module(\'module1\'
You can simply do :
console.log(angular.module('ModuleYouWantToInspect').requires);
It should return of an array of strings (dependencies). You can do the same for the output.