I am looking to utilize a resource with a cookie set in the navigator.
Using $http makes it simple, just need to set withCredentials to true:
$http({
method: 'POST',
url: url,
data: user,
withCredentials: true
});
However, for $resource, I have not been able to find a solution to achieve the same result. I came across a discussion on github regarding this issue, but I do not think that setting withCredentials to true for all requests is the right approach. Any suggestions on how to accomplish this?