1👍
✅
i solved my problem by rewriting method .run()
myApp.run(function($http) {
$http.defaults.xsrfCookieName = 'csrftoken';
$http.defaults.xsrfHeaderName = 'X-CSRFToken';
});
Source:stackexchange.com