btford / ngmin

**deprecated** AngularJS Pre-minifier –> use ng-annotate –>
https://github.com/olov/ng-annotate
860 stars 42 forks source link

Files with components that containt angular components both minification ready and not ready #63

Closed dtheodor closed 10 years ago

dtheodor commented 10 years ago

I am running ngmin on files that include both controller('MyCtrl1', function ($scope, $http) { ... }); and controller('MyCtrl2', ['$scope', '$http', function ($scope, $http) { ... }]); definitions. Ngmin fails to properly pre-minify MyCtrl1 in this case.

eddiemonge commented 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.