title: Intercept $http request and return hardcoded data
body: <p>I would like to intercept all <code>$http</code> calls made by various services and return an object which is declared inside the interceptor a.k.a. hardcoded data.</p>
  
  <p>The request interceptor provided by Angular seems to only be able to change and return the HTTP config object.</p>
  
  <p>How can I manipulate the data returned without actually calling a server?</p>
  
  <p>Thanks.</p>