title: AngularJs DELETE with data sets wrong content-type header
body: <p>I am making a $http DELETE request with a payload but the content-type is wrong.  I have a data object, but the content-type is getting set to text/plain instead of application/json.  As you can see from the code below and the network request below there is in fact a data object with values.  Is there a work around for this?  Much Thanks!</p>
  
  <p>code:  </p>
  
  <pre><code>    $http({  
          method: "DELETE",  
          url: ".../v2/places/" + place.id + "/locations/remove",  
          data: location,  
          headers: { Authorization: "Bearer " + rootServices.getToken() }  
      })  
  </code></pre>
  
  <p>chrome network request summary:</p>
  
  <blockquote>
    <p>Remote Address:54.83.54.37:443<br>
    URL:../v2/places/53b43e03e4b00cb25bcb16af/locations/remove<br>
    Request Method:DELETE<br>
      Status Code:500 Internal Server Error Request<br>
    Accept:application/json, text/plain, <code>*/*</code><br>
    Accept-Encoding:gzip,deflate,sdch<br>
    Accept-Language:en-US,en;q=0.8<br>
    Authorization:Bearer .....
      Connection:keep-alive<br>
    Content-Length:66<br>
    Content-Type:text/plain;charset=UTF-8<br>
    Host:sandbox....net<br>
    Origin:127.0.0.1:9000<br>
    Referer:127.0.0.1:9000/session<br>
    User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36<br>
    (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 Request<br>
    Payload:  {room:Kitchen, appliance:Refrigerator, floor:Main<br>
    Floor}  </p>
  </blockquote>