angular/angular.js — Issue #735: XSRF configuration for $http
Author: IgorMinar
Created: 2012-01-25 22:46:34+00:00
State: open

as mentioned in https://groups.google.com/forum/#!topic/angular/X00TD-QnGCc currently there is no easy way to configure XSRF on the client side.

we should have way to configure this via the provider for example:

```
$httpProvider.enableXsrf({
sourceType: 'cookie',
sourceName: 'csfr',
headerName: 'X-XSFR-TOKEN'
});
```