Thank you so much Sander.
That worked like a charm!
angular.module('httpPostFix', [], ['$httpProvider',function($httpProvider)
- with the matching closing "]"
On Thursday, 6 March 2014 11:40:06 UTC+2, Sander Elias wrote:
>
> 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
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.