title: Is there a way to request $http for an interceptor?
body: <p>The idea is to get a data from another source in certain cases, so I have this stub:</p>
  
  <pre><code>factory("interceptor", function ($q, $location, $http) {
      return function (promise) {
          return promise;
      }
  }
  </code></pre>
  
  <p>which fails with </p>
  
  <blockquote>
    <p>[$injector:cdep] Circular dependency found: interceptor &lt;- $http</p>
  </blockquote>
  
  <p>Also tried to inject $injector and retrieve $http using that, with same results. Any ideas?</p>
  
  <p>.config is nothing but declaration:</p>
  
  <pre><code>.config(function ($httpProvider) {
      $httpProvider.responseInterceptors.push('interceptor');
  });
  </code></pre>