Photoswipe with ionic

Can anyone help implementing photo swipe with ionic using a modal and thumbnails?

Here is the codepen I started: