Hello,

I recently wrote a REST client using the request 
<https://github.com/request/request> library. I wanted to reuse the code in 
an Angular project but got stuck trying to figure out what to do about 
$http. I didn't want to rewrite my client on top of $http, but I didn't 
want to miss out on $httpBackend either. The solution I ended up with was 
to wrap $http in a request-like interface. It seems to work pretty well. 
I'm sharing this in case it's useful to anyone else. 

https://www.npmjs.org/package/ng-request


-- 
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.

Reply via email to