You can handle your Dependency Injection in various ways. E.g.:
function injectableFunc($someService, someOtherDependency) {...}
or
['$someService', 'someOtherDependency',
function (thisWillBeSomeService, nameDoesNotMatter) {...}]
The main difference is that the second form "survives" minification, because the dependencies are identified by the first string items of the array (and strings do not get minified).
The second form will break after minification, because the variable-names (which are used for recognising the injectables) are changed.
If your workflow includes minification (which it should), you can:
- use the second form
- use ngmin for minification, which can handle the 1st form without breaking the app.