-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
Your projects seems promising but I have some difficulties with the documentation. You write:
Now you are able to instantiate the SpringDataRestAdapter object and process a given response:
var processedResponse = new SpringDataRestAdapter(response);
What is the 'response'? Do I have to get it "manually" with $http? What about ngResource that is used by angular-spring-data-rest itself?
Normally with ngResource you can create and use a resource service like this:
myApp.factory('Category', function ($resource) {
return $resource('category/:categoryId', {categoryId: '@id'});
}
$scope.categories = Category.query(); // in the controllerHow can I use angular-spring-data-rest this way to also make use of all ngResource convenience functions like 'get' or 'save'?
Metadata
Metadata
Assignees
Labels
No labels