As you can see I’m using nav-direction=“none”. This is because the following view has a lot of pictures in it, and the standard nav-direction=“forward” aimation looks pretty bad then.
However, the nav-direction is ignored here. I use nav-direction=“none” in other places of my app and it works fine, the only difference being the ng-repeat.
I’ve been having this issues as well. nav-direction=‘direction’ works well in both my controllers when I add it before $state.go and in the html when I add it as an attribute; however, it doesn’t seem to be working when I add it to an ng-repeat list.
UPDATE
As a work around I removed the ui-sref attribute and instead am using an on-tap attribute to run a function in the controller that uses $state.go(…, {}) See below as an example:
In the HTML:
<div class='stop-info-panel' on-tap='seeTrip(route.id)' ng-repeat='route in routesArray'>