Using HammerJS (Touch gesture) in Angular 2

HammerJS is a popular library that helps you add support for touch gestures (e.g. swipe, pan, zoom, rotate) to your page. In this article, we will see how easy Angular 2 can work with HammerJS.