title: Node.js: make delete request with link
body: <p>I'm trying to send DELETE request with link, so that I can use express.js routing after it</p>
  
  <pre><code>&lt;md-button href="/delete/{{userId}}"&gt;Delete&lt;/md-button&gt;
  
  app.delete('/delete/:user_id', function(req, res) {
      User.remove({
          _id : req.params.user_id
      }, function(err, user) {
          if (err)
              res.send(err);
          res.redirect('/');
      });
  });
  </code></pre>
  
  <p>Note: md-button comes from <a href="https://material.angularjs.org" rel="nofollow">https://material.angularjs.org</a> and with href attribute it behaves like anchor tag.</p>
  
  <p>However, it throws an error:</p>
  
  <pre><code>Cannot GET /remove/5536d672106a3b540e0b0d96
  </code></pre>
  
  <p>Can I change link default behavior to make DELETE request instead of GET, or the only way will be to make an AJAX call and perform routing elsewhere?</p>