Registering a swipeleft/swiperight Handler

Hey folks,

I’m trying to determine what is the best way to register a swipeleft/swiperight event handler on the slide box component. Currently we are copying the entire slidebox directive code (including slide and pager) to make our own version of slidebox and then we are injecting the $ionicGesture service which were are using to register a swipe event handler. This seems very hacky to me; can anyone help me figure out a better solution.

Thanks