title: AngularJS $http custom header for all requests
body: <p>I was wondering if there is any way to configure all $http requests header with adding custom info. Something like config :</p>
  
  <pre><code> var config = {headers: {
              'Authorization': 'Basic d2VudHdvcnRobWFuOkNoYW5nZV9tZQ==',
              'Accept': 'application/json;odata=verbose'
          }
      };
  </code></pre>
  
  <p>But for all $http calls I will make in different services. I'm sure there is a solution :D.Thanks</p>