angularjs - Angular (ionic) ngCookies can't read cookies -
i using angularjs + ionic + django.
this response of request:
this how make request:
$http.get(apiendpoint.url + 'user/').then(function() { console.log($cookies.getall()); console.log($document.cookie); });
this console output:
object {}
undefined
how can fix? thanks!
Comments
Post a Comment