broccoli-ng-annotate

Add, remove and rebuild AngularJS dependency injection annotations

Usage no npm install needed!

<script type="module">
  import broccoliNgAnnotate from 'https://cdn.skypack.dev/broccoli-ng-annotate';
</script>

README

broccoli-ng-annotate

NPM version NPM Downloads Build Status

Add, remove and rebuild AngularJS dependency injection annotations.

Issues with the output should be reported on the ng-annotate issue tracker.

Install

$ npm install --save broccoli-ng-annotate

Usage

var ngAnnotate = require('broccoli-ng-annotate');
tree = ngAnnotate(tree, options);

API

ngAnnotate(tree, options)

options

See the ng-annotate options.

In addition you can pass in options.data to use as the ng-annotate options.

License

MIT @Gilad Peleg