ngResource
Use $resourceProvider to change the default behavior of the $resource service.
$resourceProvider
$resource