Swipe to perform action like mailbox app of ipad

I am trying to making mailbox item swiper look , so on swipe modal will open and following task perform ,
I used following things:-
1] For that I modify delete button width 100% and on-swipe-left event when I swipe , observed some time on swip left it open modal some time not and it will automatically cover item with background color of delete.

2] I also used ngTouch to make this thing but when I just swipe a little ,it will open modal and in that case delete button not displayed but modal have been open.

So , anybody has mailbox related successful thing to make , I need to do that .