Close / hide (modal) box on swipe left or right


#1

I am using the Ionic modal functionality and I want to close the modal box when I swipe it to the left or the right. Where should I start? Is this even possible?