node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

ngmin-dynamic

ngmin-dynamic Build Status

Uses a dynamic analysis technique to provide DI annotations for AngularJS.

Note: This is pretty new so it might have some bugs.

See ngmin

API

It's just a single function that takes some code as a string and returns the string but annotated.

var ngmin = require('ngmin-dynamic');
 
var annotated = ngmin('some code as a string');

License

MIT