There is a lot of writting about this dependancy injection and the problem with minification
this is the official doc, but you can find lot of G+ articles of blogs
http://docs.angularjs.org/guide/di#inlineannotation

The tl;dr is that there is no better way than the one we are using.