mgonto / restangular

AngularJS service to handle Rest API Restful Resources properly and easily
MIT License
7.87k stars 840 forks source link

Update document on Custom Methods #894

Open macpraveen opened 9 years ago

macpraveen commented 9 years ago

Under https://github.com/mgonto/restangular/#custom-methods customDELETE method fourth parameter payload/elem is missing. Please update the document.

uhtred commented 8 years ago

@macpraveen After 2 years, you save my day.

mattias01 commented 7 years ago

On 1.6.1 it seems to be: customDELETE(path, params, headers, elem)

I would add a pr myself if my js was a bit better and I could verify that is is correct in the code.