I am using this generator for my project - https://github.com/cgross/generator-cg-angular - it does the minification as part of the grunt build.
Hi Andre,
this line: angular.module('httpPostFix', [], function($httpProvider) wilt get translated into angular.module('httpPostFix', [], function(a)
Angular does not have an a-Provider,so you get an error.
You need an prefix tool in your grunt file, or manually make sure you have prepared your code for minification.
in this case it should look like:angular.module('httpPostFix', [], ['$httpProvider',function($httpProvider)
and of course close the array right after your function ends.
Hope this makes sense to you,
Regards
Sander