I want to use a cookie set resource in the navigator.
With $ http, this is very simple since I only need to set withCredential to true:
$http({ method: 'POST', url: url, data: user, withCredentials: true });
But for $ resource, I did not find a solution to arrange the same ... I saw a discussion on github about this, but I think that setting withCredential to true for all requests is out of order. Do you have an idea on how to do this?
source share