In Angular1 the problem can be solved by configuring $http-provider. Like:
app.config(function($httpProvider) { $httpProvider.defaults.xsrfCookieName = \'c
Victor K's answer is perfectly valid however as of angular 2.0.0-rc.2, a preferred approach would be to use CookieXSRFStrategy as below,
bootstrap(AngularApp, [ HTTP_PROVIDERS, provide(XSRFStrategy, {useValue: new CookieXSRFStrategy('csrftoken', 'X-CSRFToken')}) ]);