title: Add header in HTTP Interceptor
body: <p>Is there a way with jQuery to intercept all outgoing HTTP requests to add an authorization header?</p>
  
  <p>I know this can be done with Angular.</p>
  
  <p>So, something like (obviously I don't expect it to be this easy - but it would be cool!)</p>
  
  <pre><code>$('document').On('HttpRequest', function() {
      $http.defaults.headers.common["Authorization"] = 'Bearer ' + myBearer;
  });
  </code></pre>