I'm getting rid with Grunt, Yeoman and Bower, and here are some simple questions I have:
- Why yeoman generators run the grunt concat task before uglifying (since uglify knows how to concat)?
- Why someone uses concat with cssmin and uglify in the project?
// Is there any grunt plugin for angular js to convert this:
angular.module('MyApp') .controller('searchResultsCtrl', function($scope, $filter, $rootScope, $stateParams {...});
into this:
angular.module('MyApp')
.controller('searchResultsCtrl', ['$scope', '$filter', '$rootScope', '$stateParams', function($scope, $filter, $rootScope, $stateParams) {...}]);
Thanks