title: Angular.js $http intercept "net::ERR_CONNECTION_REFUSED"
body: <p>I'm trying to write a generic error handler for my website using <code>$http'</code>s interceptors but they don't seem to be able to do what I want to do.</p>
  
  <p>I placed interceptors on <code>'response'</code> and <code>'responseError'</code> but they never get called when the server is offline/not reponding (net::ERR_CONNECTION_REFUSED). I understand why this happens, there's no response to intercept.</p>
  
  <p>I'd like to know if there's a generic way of catching these errors, other than listening to the <code>$httpPromise</code>'s <code>error</code> callback for each request.</p>