Simple vertical and horizontal swipe gesture directive for angular js