title: Pass a common data in all $http services in angularjs
body: <p>I wish to send a particular data in all the $http calls. Can i define it somewhere so that i need not alter all the $http calls.
  For example,</p>
  <pre><code>  $http({
        method: 'POST',
        url: serviceUrl,
        data: {
            &quot;key1&quot;: data1,
            &quot;key2&quot;: data2,
        }
    })
  </code></pre>
  <p>Add a data3 as default in all my $http calls. Thanks in advance for your response.</p>