AngularJS: Correct minify-able syntax when using resolve with controllers
You can inject the dependencies using the following pattern, it is minification proof HomeCtrl.resolve = { pictures : [‘Picture’, function(Picture) { return Picture.getall(); }] };