Is there a better way to handle the angularjs controller constructors that are compiler friendly?
My code keeps looking like this for each controller...
return app.controller('WorkspaceCtrl', ['$rootScope', '$scope', '$route', 'DashboardModel', 'dashboards', 'reports', 'workspaces', '$modal', 'growl',
function WorkspaceCtrl($rootScope, $scope, $route, DashboardModel, dashboards, reports, workspaces, $modal, growl) {
//.. controller code here ...
}]);
Thanks!