An angular service that extends functions with a cancel() function and provides a cancelPromise to work with $http.