Fixing "Unknown provider" error when minify script

During minification, '$http' is minified to 'a'. Angular will try to find the 'a' service, and when that fails it will try to find the 'aProvider' to provide the service. Since neither of these are declared, I received the "Unknown provider" error.

To fix this, I had to change the dependency to string.
More explanation here :
https://coderwall.com/p/eeqo7q