2 ms·
The typical workaround for this is to introduce a transformation in your build process that turns the developer-friendly: myModule.controller('FooCtrl', func
by tomjakubowski 13y ago
The typical workaround for this is to introduce a transformation in your build process that turns the developer-friendly:
myModule.controller('FooCtrl', function ($rootScope) {});
into the minification-safe:
myModule.controller('FooCtrl', ['$rootScope', function ($rootScope) {}]);