Closed alex88 closed 7 years ago
I've seen many controllers uses the form
controller: function($scope)
which creates issues when code is minified and angular refuses to load the controller in strict mode.
Shouldn't this use annotations like
controller: ['$scope', function($scope){}]
Yes it should, this is one of the things I was working on earlier today. I'll make sure to update this issue when this is committed and released.
Awesome, thanks!
Fixed with release 0.2.0
0.2.0
Awesome! 🚀
I've seen many controllers uses the form
which creates issues when code is minified and angular refuses to load the controller in strict mode.
Shouldn't this use annotations like