title: Angular $http.put packet not in correct format
body: <p>I'm kind of new to angular, and it's the first time I'm using $http.put.
  My problem is when I send the packet, it won't include the data (json object), and the PUT is a header(?).</p>
  
  <p>This is what my code looks like:</p>
  
  <pre><code>app.controller('StatusController',['$http', function($http) {
    this.updateComment = function (eventid, comment) {
      var requestData = {"event-id":eventid, "new-comment":comment};
      $http({
        method: 'PUT',
        url: "http://172.18.212.59/event",
        data: requestData,
        headers: {'Content-Type': 'application/x-www-form-urlencoded'}
      });
    }
  }
  </code></pre>
  
  <p>So I used Fiddler to generate a PUT request to the server, and it worked. so I looked at the packets, trying to understand where the differences come from...
  Here are the results:
  <a href="http://i.stack.imgur.com/Rsy9T.jpg" rel="nofollow">Packet generated by Angular - Not working</a>
  <a href="http://i.stack.imgur.com/VxSw0.jpg" rel="nofollow">Packet generated by the Fiddler Composer - Working</a></p>
  
  <p>Also I've tried using:</p>
  
  <pre><code>$http.put(url, requestData)
  </code></pre>
  
  <p>But that didn't work either... My GET requests work perfectly fine! And they look like the packet that does work...</p>
  
  <p>Has anyone encountered this problem before?
  Appreciate your help!</p>