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

ruby - Trying to change last to "x"s to 23 -

c# - Can I intercept a SOAP response in .NET before a content type binding mismatch ProtocolException? -

css - Can I use the :after pseudo-element on an input field? -