Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
AngularJS

DELETE Requests in AngularJS

Remove resources with $http.delete.

DELETE Requests in AngularJS — a practical guide to AngularJS DELETE $http with clear examples you can reuse in real projects.

AngularJS Tutorial Series (66/99). Prefer one article? Read the complete AngularJS tutorial.

Short description

Confirm destructive actions in the UI first.

DELETE

$http.delete('/api/items/' + id)
  .then(function () { vm.refresh(); });

Leave a reply

Your email address will not be published. Required fields are marked *