Hello,
I have a resource defined like so:
.factory('DLResource', ['$resource', function ($resource) {
var DLResource = $resource('/data/dl/:id/', {'id': '@id'}, {
'update': {'method': 'PUT'},
'delete': {'method': 'DELETE'}
});
return DLResource;
}])
for some reason, when I am saving a new obj using this, calling
DLResource.save($scope.dl, succesFn, failureFn);
it is calling the right url, but instead of posting the values for the DL
object, it is appending them to the URL via querystring ?=a=&b=&c=&
Any idea what would cause this? This is happening in Firefox only, it
seems to work fine in Google Chrome.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.