$http.delete(\'/api/carts/\' + productCode). success(function() { cart.products = someMethod(); updateTotals(); }). error(function() { console.log(\'C
$http.delete(path) is a shortcut for DELETE requests. So as the shortcut breaks on IE8, besides calling by their uglly form: $http['delete'], you can call using the original mode:
$http.delete(path)
DELETE
$http['delete']
$http({method: 'DELETE', url: path})