angular-restmod
angular-restmod copied to clipboard
$abort() method to abort pending http request
$cancel() method doesn't affect http request, so we need either extend $cancel() or add new $abort() method.
I think a new $abort
method is better, since $cancel
only discards pending requests. I think is simple enough to make it to 1.1. I'm yet to confirm the naming and the proper api with the rest of the team.