Top "Angularjs-resource" questions

The ngResource module provides interaction support with RESTful services via the $resource service.

'Best' practice for restful POST response

So nothing new here I am just trying to get some clarification and cannot seem to find any in other …

rest angularjs angularjs-resource
How to refresh / invalidate $resource cache in AngularJS

I have a simple User $resource that uses the default $http cache implementation like so: factory('User', function($resource){ return $…

angularjs angularjs-resource
Angular - extending $resource subobject with custom methods

In most cases the result of <custom-resource>.query() method is an array, which can be easily extended with …

javascript angularjs angularjs-resource
Protractor times out waiting for sync with page when using $resource

I'm testing Protractor with a small AngularJS app. This is the test: describe('Testing Protractor', function() { var draftList; it('should …

javascript angularjs angularjs-resource protractor
add a custom function on angular $resource

I have an angular resource that goes something like this app.factory('User', function ($resource) { return $resource( '/api/user/:…

javascript angularjs angularjs-scope angularjs-resource
How to configure Angular $resource (ngResource) to pull data from another domain using CORS

I'd like to be able to setup resources using $resource using CORS to request my data. I've got CORS working …

angularjs jsonp cors angular-resource angularjs-resource
Angular 1.0.8 $resource with multiple optional get parameters

My Student ulr looks like this: var Student = $resource('/app/student/:studentid:courseId', {studentid:'@id',courseId:'@cid'} ); …

angularjs angularjs-resource getparameter
Give kendo datasource an angular scope variable

I'm currently trying to fill a kendo grid with remote data. Kendo has its own function to fetch the data, …

javascript angularjs kendo-ui kendo-grid angularjs-resource
AngularJS: transform response in $resource using a custom service

I am trying to decorate the returned data from a angular $resource with data from a custom service. My code …

javascript angularjs angular-resource angularjs-resource
TypeError: undefined is not a function in Angular Resource

When trying to poll a custom method copies on an AngularJS Resource I get the following error at angular.js:10033: (…

javascript angularjs angularjs-directive angularjs-scope angularjs-resource