Injecting dependencies using "inline array annotation" instead of "implicit dependencies"

We started getting the Unknown Provider error when I used this library in a Rails app in the production environment, where the JS is minified. I realised this was happening because the dependencies were not injected using inline array annotation. More details here: https://docs.angularjs.org/guide/di#implicit-dependencies. I have now fixed this.