This project demonstrates a decoration of angular $http service with a cancellation method.