Moving to different states with 'slide in' effect in controller


My app is a food scanner. Currently, when users scan a barcode it redirects them to the page for the product with that barcode. I am using $state.transitionTo to achieve this behaviour.

However, at the moment the screen just appears without any effect. I was wondering if it is possible have a ‘slide in’ effect when moving to a different state from a javascript call?

Any help would be appreciated. Thanks!