Minification not detecting controller style
shanti2530 opened this issue · 2 comments
shanti2530 commented
The controller is defined as follows:
var MainCtrl = function($scope, DataService) {...}
The controller is registered with the app module as follows:
angular.module('myApp').controller('mainCtrl', MainCtrl);
ngmin does not work if I write the controller and register it this way.
gabegorelick commented
👍 I just got bit by this.
btford commented
Please read the readme.
Unless you have a compelling reason for this style of code, I'm not interested in adding this feature.