I am getting an error on calling the $httpBackend module. My $http call is
as follows.
$http({method: "get", cache: false, url: claimUrl}).success(someFunction);
When the $http call is intercepted the $httpBackend call fails because it
is expecting a method and a url not an object containing those.
Here is the error I get
Error: Unexpected request: [object Object] undefined
Is that method of calling $httpBackend supported or do I have to write
something custom to make it work?
--
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/d/optout.