Thanks @mobileAppDeveloper for the suggestion to use $ionicViewSwitcher.nextDirection()
directly instead of relying on nav-direction
tag.
I found that nav-direction
sometimes work but sometimes doesn't. I suspect it has something to do with the priority of the directive not high enough. Hope the ionic team can take a look at that.