Use the recommended syntax for dependencies injection in AngularJS.

This should fix the dist/ build and avoids errors due to parameters renaming in the minification process.