Allow mangle support in JS optimizer, using ['$inject'] instead of .inject

Use ['$inject'] notation instead of .$inject.
https://docs.angularjs.org/guide/di#-inject-property-annotation
This notation allow mangle support (with uglifyjs for example).