Delete requests on resources pass this as data. Delete requests should not be passing data in the body of the response. The bug is here:
Delete requests on resources pass this as data. Delete requests should not be passing data in the body of the response. The bug is here:

http://github.com/angular/angular.js/blob/master/src/Resource.js#L119

Instead of checking for !isGet you should be checking for !isPost. Also isPost should be isPostOrPut since only on those two methods should be sending a payload if I am not mistaken.

ggershoni/angular.js,ggershoni/angular.js,ggershoni/angular.js,ggershoni/angular.js