I was wondering if anybody knows which file the angular.module()
function is defined in. I ask because when I type "angular." My IDE's auto-complete feature does not show the module method on the angular object.
Regarding the files in which the .module()
is defined:
ngModule
): http://code.angularjs.org/1.0.2/angular.js, check the line 1052You might want to search for the function module(name, requires, configFn)
string to locate it in your version of AngularJS.
According to the AngularJS documentation it's in the ng module.