title: Chicken and egg issue with dependency injection in angular, $exceptionHandler and $http
body: <p>I'm enjoying a nice chicken and egg problem with dependancy injection in angular,  I override $exceptionHandler by injecting $http, but I also have a custom interceptor.</p>
  
  <pre><code>Uncaught Error: [$injector:unpr] Unknown provider:  $httpProvider &lt;-  $http &lt;- $exceptionHandler &lt;- $rootScope
  </code></pre>
  
  <p>I am trying to use it like so:</p>
  
  <pre><code>Module.config(['$httpProvider', function($httpProvider) {
    $httpProvider.interceptors.push('special-http');
  }]);
  </code></pre>
  
  <p>I wrapped my interceptor in a factory:</p>
  
  <pre><code>Module.factory('special-http', ['$templateCache', function($templateCache) {
    "use strict";
  
    return {
      'request': function(config) {
  
        if ($templateCache.get(config.url)){
          return config;
        }
  
       //some logic
  
        return config;
      }
    }
  }]);
  </code></pre>
  
  <p>exceptionHandler.js</p>
  
  <pre><code>Module.factory('$exceptionHandler', [' $http', function ($http) {
      "use strict";
  //code
  }
  </code></pre>