I'm trying to make a simple post request in Angular and acquire the response the headers. The problem is I get this response for the header:
function (d){b||(b=fd(a));return d?(d=b[G(d)],void 0===d&&(d=null),d):b}
Angular code:
$http.get(url).success(function(data, status, headers, config) {
callback(data, status, headers, config);
});
What am I missing?