title: How to send data with angularjs $http.delete() request?
body: <p>I have a resource 'roles' which has a many to many relationship with 'user'.  To administer 'roles' I need to send the role id and the user id to the server so that it removes the the role from the correct user (not necessarily the logged in user)</p>
  
  <p>Here is what I was attempting but according to the <a href="http://docs.angularjs.org/api/ng/service/%24http#delete">docs</a> this is not possible.  I know I can send the two ids in the uri but my laravel backend automatically sets up a resourceful route of resource/{resourceid} which I would like to use if possible.  Is there a way to do this that I am missing?</p>
  
  <pre><code>var removeRole = function (roleid, userid) {
          var input =[];
          input.user = userid;
  
          $http.delete('/roles/' + roleid, input).success(function (data, status) {
              console.log(data);
          });
      };
  </code></pre>