Use $resourceProvider to change the default behavior of the $resource service.
$resourceProvider
$resource
© 2010–2020 Google, Inc.Licensed under the Creative Commons Attribution License 3.0. https://code.angularjs.org/1.8.2/docs/api/ngResource/provider