angularjs - Angular (ionic) ngCookies can't read cookies -


i using angularjs + ionic + django.

this response of request:

response-headers

response-cookies

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

Popular posts from this blog

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -