Closed dtheodor closed 10 years ago
Please try https://github.com/olov/ng-annotate. ngmin is now deprecated: https://github.com/btford/ngmin/issues/93
If your issue isn't resolved there please open an issue at https://github.com/olov/ng-annotate/issues
If you really want ngmin to fix this issue, feel free to fork it and use that.
I am running ngmin on files that include both
controller('MyCtrl1', function ($scope, $http) { ... });
andcontroller('MyCtrl2', ['$scope', '$http', function ($scope, $http) { ... }]);
definitions. Ngmin fails to properly pre-minifyMyCtrl1
in this case.