title: How to replace $httpProvider in service when I already have defined my $httpProvider
body: <p>I have factory service:</p>
  
  <pre><code>app.factory('sessionInjector', ['sessionService', 'stateService', '$q', function (sessionService, stateService, $q) {
      var myInjectorInstance = { /* ... */ };
  
      return myInjectorInstance; 
  }]);
  </code></pre>
  
  <p>And now I define provider for my module </p>
  
  <pre><code>app.config(['$httpProvider', function ($httpProvider) {
      $httpProvider.interceptors.push('sessionInjector'); 
  }]);
  </code></pre>
  
  <p>Now in dialogService want to user angular's $http provider to read html file. 
  But I get that exception: </p>
  
  <pre><code>Circular dependency found: $http &lt;- dialogService &lt;- sessionService &lt;- sessionInjector &lt;- $http &lt;- $templateRequest &lt;- $compile
  </code></pre>
  
  <p><strong>dialogService is used in sessionService.</strong> 
  dialogService Looks like this :</p>
  
  <pre><code>app.service('sessionService', function ($http, $window, $compile) {
      /* some code */
  }
  </code></pre>
  
  <p>Is there way to use $http provider in dialogService without error throwing?</p>