Ionic slidebox and rotation

Hi,
I have simple slidebox with one image i each slide. I want to rotate image inside slidebox as you swap left or right (orientation depending on swap direction)
Can any one help me please ?
Just need hint.
Can i get x y position of slide i.e how much its is being slided at that moment of touch ?

thanks a lot