diff options
| author | Matias Niemelä | 2013-10-16 22:48:32 -0400 | 
|---|---|---|
| committer | Matias Niemelä | 2013-10-23 17:00:12 -0400 | 
| commit | a7e12b7959212f2fa88fe17d5a045cc9d8b22922 (patch) | |
| tree | 3613ad9f20a92eb9e7a88402e34a078092663cba /src/ngMock/angular-mocks.js | |
| parent | 3f568b22f9bec09192588e3cae937db5c2e757f9 (diff) | |
| download | angular.js-a7e12b7959212f2fa88fe17d5a045cc9d8b22922.tar.bz2 | |
feat(docs): provide index pages for each angular module
Diffstat (limited to 'src/ngMock/angular-mocks.js')
| -rw-r--r-- | src/ngMock/angular-mocks.js | 12 | 
1 files changed, 10 insertions, 2 deletions
| diff --git a/src/ngMock/angular-mocks.js b/src/ngMock/angular-mocks.js index 703fbe34..c832562a 100644 --- a/src/ngMock/angular-mocks.js +++ b/src/ngMock/angular-mocks.js @@ -1708,8 +1708,16 @@ angular.mock.$RootElementProvider = function() {   * @name ngMock   * @description   * - * The `ngMock` is an angular module which is used with `ng` module and adds unit-test configuration - * as well as useful mocks to the {@link AUTO.$injector $injector}. + * # ngMock + * + * The `ngMock` module providers support to inject and mock Angular services into unit tests. In addition, + * ngMock also extends various core ng services such that they can be inspected and controlled in a synchronous + * manner within test code. + * + * {@installModule mocks} + * + * <div doc-module-components="ngMock"></div> + *   */  angular.module('ngMock', ['ng']).provider({    $browser: angular.mock.$BrowserProvider, | 
