title: Is there a way to get HTTP status code name using JS and AngularJS?
body: <p>I have an AngularJS, JS, JQ, HTML5, CSS3 web app. It is suposed to send different HTTP methods to REST API of our projects and manipulate them. It has similar behavior to <a href="https://chrome.google.com/webstore/detail/dev-http-client/aejoelaoggembcahagimdiliamlcdmfm" rel="nofollow">DHC by Restlet (formerly Dev HTTP Client)</a>. Every request returns a status code like 200, 201, 404, 500 etc. which is then displayed to the user. </p>
  
  <p>Now what I would like is to display not only a response code, but also a description of it like this:</p>
  
  <p><code>404 Not Found</code>, <code>201 Created</code> etc.</p>
  
  <p>I am getting a response from Angular like this:</p>
  
  <pre><code>$http(config).success(function (data, status, headers, config) {//some logic}
  </code></pre>
  
  <p>Does anyone know if this is possible using AngularJS?</p>