1 | # Install
|
2 |
|
3 | `npm install {%= name %} --save-dev`
|
4 |
|
5 | Load ng-describe.js after angular and angular-mocks but before your specs, for example in Karma conf file.
|
6 |
|
7 | ```js
|
8 | // karma.conf.js
|
9 | files: [
|
10 | 'node_modules/angular/angular.js',
|
11 | 'node_modules/angular-mocks/angular-mocks.js',
|
12 | 'node_modules/ng-describe/dist/ng-describe.js',
|
13 | '<your source.js>',
|
14 | '<your specs.js>'
|
15 | ],
|
16 | ```
|
17 |
|
18 | File `dist/ng-describe.js` includes es5-shim and other dependencies needed by
|
19 | the `ngDescribe` function.
|