I need to send a request body with my DELETE requests using $resource
The only way I could see to do this was to change:
https://github.com/angular/angular.j
This works.
$scope.delete = function(object) { $http({ url: 'domain/resource', method: 'DELETE', data: { id: object.id }, headers: { "Content-Type": "application/json;charset=utf-8" } }).then(function(res) { console.log(res.data); }, function(error) { console.log(error); }); };