browserify-ngannotate

A browserify transform that uses ng-annotate to add dependency injection annotations to your AngularJS source code, preparing it for minification.

npm install browserify-ngannotate
2 downloads in the last day
19 downloads in the last week
64 downloads in the last month

browserify-ngannotate

Build Status Coverage Status

A browserify transform that uses ng-annotate to add dependency injection annotations to your AngularJS source code, preparing it for minification.

Usage

browserify -t browserify-ngannotate app.js > bundle.js

Options

Provided options are passed through to ng-annotate. The add option defaults to true.

For example, to remove annotations, one could use the following:

browserify -t [ browserify-ngannotate --no-add --remove ] app.js > bundle.js

Install

npm install browserify-ngannotate --save

License

MIT

npm loves you