An AngularJS service to add abort functionality to requests from $http or $resource.