title: AngularJS redirect not occurring in interceptor
body: <p>I'm using a very simple interceptor to check responseRejection for 403 Access Forbidden to redirect users to the login, but it doesn't redirect.  I can console.log right up to the line before $location.path and after it, and it never occurs.  Has anyone else had this happen?  I've been staring at this for a bit now...  Originally I didn't even want to use $location, but I can't inject ui.router without getting a circular dependency, which I also can't figure out how to get rid of so $location was supposed to keep me moving, while I thought about it.</p>
  
  <pre><code>.factory('AuthInterceptor', ['$q', '$location',
      function( $q, $location ) {
  
      var service = {
          responseError: function( responseRejection ) {
  
              // Authorization issue, access forbidden
              if( responseRejection.status === 403 ) {
  
                  // TODO: show a login dialog, and/or redirect to login
                  console.log("Response rejected. Redirecting to login...");
  
                  $location.path('/login');
                  $location.replace();
  
                  console.log("Not so much with the redirecting... I'm still here");
              }
  
              // Propagate error to any chained promise handlers
              return $q.reject( responseRejection );
          }
      }
  
      return service;
  }])
  </code></pre>