i am new one so difficult to getting this error using resource module after calling service. can any one modify my mistake in code where i am getting wrong or just modified that
A very simple solve for me from the documentation:
app.factory('Article', ['$resource', function ($resource) { return $resource('/v1/a/:id', null, { 'query': {method:'GET', isArray:false}, 'update': { method:'PUT' } }); }]);