It is my understanding that when ur angular is trying to access an Api on a
different domain (same domain, different port counts too), then you need to use
callbacks and make Api call using $http.jsonp or $resource with same jsonp. If
it is in same domain then try this:
$http.get('/api url', {params : {}, headers:{mention headers})
I would start off with simple calls then look into promises and cross origin
calls.
--
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.