title: Get response headers of post request in angular
body: <p>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:</p>
  
  <pre><code>function (d){b||(b=fd(a));return d?(d=b[G(d)],void 0===d&amp;&amp;(d=null),d):b}
  </code></pre>
  
  <p><strong>Angular code:</strong></p>
  
  <pre><code>$http.get(url).success(function(data, status, headers, config) {
      callback(data, status, headers, config);
  });
  </code></pre>
  
  <p>What am I missing?</p>