using $http service of angularjs.

learn more… | top users | synonyms

0
votes
2answers
81 views

AngularJS $http loading screen compatibility

I've used the following angular module to create a loading screen until all $http requests finish. It works fine on angular 1.0.7, but doesn't work on angular 1.2.10 . I need to use angular-resource, ...
1
vote
1answer
446 views

AngularJS API call error with $http GET

I'm trying to create a simple app using Angular that will consume my API. I'm using a VM to run the code, and I access it on my computer, so to call the API from my machine I can use cURL or any other ...
1
vote
1answer
386 views

ng-grid won't load header row template when using $http interceptors to modify request url

Our application uses an $http interceptor to add tokens to $http requests as a form of security, the token that the interceptor adds are updated every 5 or so minutes. We now want to use ng-grid. ...
0
votes
1answer
80 views

$http error handling in angular

$http in my angular project not able to recognize 40X(401,403,405...) errors on iOS. I am using 1.2.10 angular version and Cordova version 3.4.0. Below is the code I am using: ...
0
votes
1answer
33 views

AngularJS: issues creating an API request

I have a scenario in which I have to deal with a misconfigured server, which only understands a stringified JSON. What works with the server is: var req = JSON.stringify({id: 0, method: ...
0
votes
1answer
48 views

Angular - How to Project $http Response

I want to project the result of my $http call into another model in order to make the projection global to the service call. In other words, the result i get from my http/api call is not using the ...
1
vote
0answers
100 views

AngularJS 1.2 $http seems to cache POST requests when no data is passed

I'm having an issue with AngularJS 1.2 POST requests using $http service. On a button click, I trigger a POST request like so: $http.post('my/url').success(function(responseText) { // Do ...
0
votes
0answers
143 views

Sending HTTP Post with multiple data through AngularJS

I am using AngularJS. I would like to send multiple data in a HTTP post through AngularJS. The backend runs Cakephp and I have verified that the Rest API works through python HTTP-post. I have this ...
0
votes
0answers
88 views

Angular resource dynamic uri

Once I was using $http in calling all my apis' endpoint. But lately I read that using $resource is much more robust or best practice. Now I'm migrating all my $http call to $resource and I got bump on ...