title: Protractor testing angular $http interceptors
body: <p>I am trying to make an angular protractor test which on submit sends a regular ajax request which is then intercepted on the response leg. The $http interceptor opens up a custom dialog waiting for user input (user / password) for further authentication. </p>
  
  <p>The issue is that protractor sits there waiting for the HTTP response to complete but never does because it has been intercepted and simply times out. I cannot find a way to have protractor sendKeys to these dialogs since it is still waiting for the HTTP request to finish (it never will since it was intercepted). </p>
  
  <p>So essentially, can the protractor framework handle $http intercepted responses and provide additional browser input when needed? Or is there any workarounds?</p>
  
  <p>Thanks!! </p>