Resource (REST) service for Angular 2+.
Did you miss the ngResource service from angular1.x in angular2+? Then you have come to the right place.
npm install --save ng-restly
- Create a service and extend it from ResourceService
- Inject your service wherever you would like to take the benefits of ng-restly
See full documentation here.
Deprecated @angular/http module Support
ng-restly v1.0.0 supports the deprecated and soon to be removed @angular/http module. If you are using version below 4.4.0 of angular you have to install v1.0.0 of ng-restly.
npm install --save email@example.com
See full documentation for v1.0.0 here.
Development & Contribution
npm run test to execute the unit tests via Karma. This will help you to run and debug your code if you wish to contribute to the development of this library.