title: Angular $http.get have empty response data if server response 500 Internal server error
body: <p>Please refer jsfiddle
  <a href="http://jsfiddle.net/vom4za2z/7/" rel="nofollow noreferrer">http://jsfiddle.net/vom4za2z/7/</a></p>
  
  <p>I use $http.get to catch response data when server response error 500 Internal Server Error.</p>
  
  <p>But in error callback function, it alway return response object with data=null and status=-1</p>
  
  <p>Check in "Network" tab of Developer tools of Google Chrome browser, you will see response from server with status code is 500 and response data like:</p>
  
  <pre><code>{
  "AppCode": null,
  "HttpCode": 500,
  "Url": "\/api\/categories\/getList.json",
  "Message": "Expired token",
  "Details": null
  }
  </code></pre>
  
  <p>What I'm doing wrong? How can I get response data? </p>
  
  <p>Thanks for any help,</p>