EVOLUTION-MANAGER
Edit File: angular.mock.module.html
<a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ngMock/angular-mocks.js?message=docs(angular.mock.module)%3A%20describe%20your%20change...#L2170' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.3.9/src/ngMock/angular-mocks.js#L2170' class='view-source pull-right btn btn-primary'> <i class="glyphicon glyphicon-zoom-in"> </i>View Source </a> <header class="api-profile-header"> <h1 class="api-profile-header-heading">angular.mock.module</h1> <ol class="api-profile-header-structure naked-list step-list"> <li> - function in module <a href="api/ngMock">ngMock</a> </li> </ol> </header> <div class="api-profile-description"> <p><em>NOTE</em>: This function is also published on window for easy access.<br> <em>NOTE</em>: This function is declared ONLY WHEN running tests with jasmine or mocha</p> <p>This function registers a module configuration code. It collects the configuration information which will be used when the injector is created by <a href="api/ngMock/function/angular.mock.inject">inject</a>.</p> <p>See <a href="api/ngMock/function/angular.mock.inject">inject</a> for usage example</p> </div> <div> <h2 id="usage">Usage</h2> <p><code>angular.mock.module(fns);</code></p> <section class="api-section"> <h3>Arguments</h3> <table class="variables-matrix input-arguments"> <thead> <tr> <th>Param</th> <th>Type</th> <th>Details</th> </tr> </thead> <tbody> <tr> <td> fns </td> <td> <a href="" class="label type-hint type-hint-string">string</a><a href="" class="label type-hint type-hint-function">function()</a><a href="" class="label type-hint type-hint-object">Object</a> </td> <td> <p>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 registered as values in the module, the key being the module name and the value being what is returned.</p> </td> </tr> </tbody> </table> </section> </div>