https://github.com/pgilad/broccoli-ng-annotate
Add, remove and rebuild AngularJS dependency injection annotations
https://github.com/pgilad/broccoli-ng-annotate
javascript ngannotate
Last synced: 11 months ago
JSON representation
Add, remove and rebuild AngularJS dependency injection annotations
- Host: GitHub
- URL: https://github.com/pgilad/broccoli-ng-annotate
- Owner: pgilad
- License: mit
- Created: 2014-05-15T22:22:47.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2019-02-13T09:31:21.000Z (over 7 years ago)
- Last Synced: 2025-06-15T16:11:04.296Z (12 months ago)
- Topics: javascript, ngannotate
- Language: JavaScript
- Size: 17.6 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# [broccoli](https://github.com/joliss/broccoli)-ng-annotate
[](https://www.npmjs.org/package/broccoli-ng-annotate)
[](https://www.npmjs.org/package/broccoli-ng-annotate)
[](https://travis-ci.org/pgilad/broccoli-ng-annotate)
> Add, remove and rebuild AngularJS dependency injection annotations.
*Issues with the output should be reported on the ng-annotate [issue tracker](https://github.com/olov/ng-annotate/issues).*
## Install
```shell
$ npm install --save broccoli-ng-annotate
```
## Usage
```js
var ngAnnotate = require('broccoli-ng-annotate');
tree = ngAnnotate(tree, options);
```
## API
### ngAnnotate(tree, options)
#### options
See the ng-annotate [options](https://github.com/olov/ng-annotate).
In addition you can pass in `options.data` to use as the ng-annotate options.
## License
MIT © [Gilad Peleg](https://www.giladpeleg.com)