angular-poller
angular-poller copied to clipboard
Access Response Header on Success
Is there any way to access the response headers (on success)?
The docs have this comment:
// Error handler: (data, status, headers, config)
In my callback I can access the headers via response.headers as follows:
myCallback = function(response) {
console.log(response.headers);
};