How to convert Angular $resource object to regular object without methods How to convert Angular $resource object to regular object without methods angularjs angularjs

How to convert Angular $resource object to regular object without methods


Try the toJSON function, it will fetch the data and remove the extra properties.