title: How to send DELETE request to server with Json data using AngularJS?
body: <p>I have to send a http DELETE request to a server. The type has to be JSON, and the object looks like this:</p>
  
  <pre><code>{ "id": "value"}
  </code></pre>
  
  <p>My first approach was the following code, but so far it doesn't work:</p>
  
  <pre><code>$http.delete('http://blabla/server/house', {"id": "value"}).success(function(data) {
              console.log(data);
              //Redirect to index.html
              $location.path('/'); 
          });
  </code></pre>
  
  <p>What would a working solution look like?</p>