angular/angular.js — pull request #965 by maxmart (2012-05-17 15:22:36+00:00)
Title: Fix for issue #736: ngResource now accepts headers

With this fix it is possible to specify HTTP headers in the actions parameter of ngResource.
For example, to be able to send conditional PUT requests you could specify:
```javascript
$resource('/CreditCard/123', {}, {
add: {
method: 'PUT',
headers: {'If-None-Match': '*'}
}
});
```