Set csrf header in AngularJS’ $http requests
Set csrf header in AngularJS’ $http requests

CakePHP provides the csrf token in a cookie already.
These two lines instruct AngularJS to read the token
from that cookie and to send it as a header in all
the requests emitted by the $http service.

Tatoeba/tatoeba2,Tatoeba/tatoeba2,Tatoeba/tatoeba2,Tatoeba/tatoeba2,Tatoeba/tatoeba2