I am sending a request with an Angular $ resource:
myResource.get({ foo: bar }, function success(data, headers) { console.log("data:", data);
But I get only a few headers:
{content-type: "application/json", cache-control: "no-cache, max-age=604800", expires: "Mon, 06 Apr 2015 16:21:17 GMT"}
when I want to catch the "X-Token" header (received if I register the browser console)
Any idea on getting a complete list of headers from Angular and $ resource?
source share