ngbrowserify
Angular function injection to array injection transform for browserify.
browserify -t ngbrowserify main.js -o main.bundle.js
Or use it from the command-line instead of ngmin:
ngbmin < input.js > output.js
example input
angular;
Output:
angular;
alternate syntax
Named function expressions that end with '$ng' will always be transformed.
var {};angular;
Output:
var factory = $scope $http {};angular;
license
MIT