angular.mock.module
ng
angular.mock.module(fns);
Param | Type | Details |
---|---|---|
fns | ...(stringFunctionObject | any number of modules which are represented as string aliases or as anonymous module initialization functions. The modules are used to configure the injector. The 'ng' and 'ngMock' modules are automatically loaded. If an object literal is passed they will be register as values in the module, the key being the module name and the value being what is returned. |