ng2-resource-rest is a resource (REST) Client for Angular 2
Questions tagged [ng2-resource-rest]
3 questions
32
votes
3 answers
Angular2 module similar to ngResource / $resource
When I take a look into Angular2 docs I can't find any REST helper module like Angular1's ngResource. I find it very useful in Angular1, so I would like to have something similar in Angular2, but the only thing I can find is 'angular2/http' which…

smnbbrv
- 23,502
- 9
- 78
- 109
0
votes
2 answers
Angular2 : ng2-resource-rest response error handling
How to handle rest call error like 400/500 status in Angular2 using ng2-resource-rest and typeScript?
register.component.ts
registerEmployees() {
let regEmployee = this.empService.employeeRegister(this.register);
regEmployee.$observable
…

Gourab Paul
- 575
- 7
- 14
-1
votes
1 answer
Angular 2 DI - Can't resolve all parameters
I've build a basic app in Angular 2, and cannot inject a service into one of my components through a module.
After compiling with webpack i get this following Error:
"Angular 2 DI - Can't resolve all parameters"
// UserModule
import {NgModule} from…

user2588688
- 9
- 3