AngularJS: Correct minify-able syntax when using resolve with controllers

Im using the resolve functionality with a couple of controllers to fetch some data before the rendering of a new view kicks in like this:

HomeCtrl.resolve = {
    pictures: function(Picture) {
        return Picture.getall();
    } 
};

Does anybody know how to write this, so the Picture-service, that is passed as an argument, doesnt get overwritten when minified?

You can inject the dependencies using the following pattern, it is minification proof

HomeCtrl.resolve = {
    pictures : ['Picture', function(Picture) {
                return Picture.getall();
            }]
};