title: Rewrite jQuery Ajax call in AngularJS
body: <p>Is there an AngularJS equivalent call to this jQuery ajax POST, with <code>contentType</code> and <code>setRequestHeader</code>?</p>
  
  <pre><code>$.ajax({
      url: "http://localhost/songs",
      type: "POST",
      contentType: "application/json; charset=utf-8",
      dataType: "json",
      beforeSend: function (xhr) {
          xhr.setRequestHeader("SOAPAction", "http://schemas.microsoft.com/sharepoint/soap/UpdateListItems");
      },
      success: function(data){
          console.log(data);
      }
  });
  </code></pre>