Angular REST http request adapter wrapping angular's native $http service to simplify REST API communication. Current version 2.0.1 provides TypeScript definitions, supports Angular 1.x, and offers a provider-based configuration for base URL and default headers. Its key differentiator is seamless integration with Angular 1's dependency injection, making it a lightweight alternative to full-fledged REST clients. The package is in maintenance mode with infrequent updates.
npm install angular-rest-adapterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates importing the module, configuring the provider with a base URL, and using the ngRestAdapter service to make a GET request.
Update dependency injection references to use 'ngRestAdapter' instead of 'restAdapter'.
Use npm to install the package.
Ensure baseUrl does not end with a trailing slash.
Implement error handling in the promise chain from ngRestAdapter calls.
Add import 'angular-rest-adapter'; at the top of your entry file.
Use array annotation: ['ngRestAdapterProvider', function(provider) { ... }]Inject the service via Angular's DI, e.g., run(['ngRestAdapter', function(adapter) { ... }])