Hi everyone,
I have discovered Ionic only recently, as well as Angular and i have to say that I am pleased with what I have seen. So far I found ways to do what I wanted to do, except for something with the navigation. I have upgraded to Ionic b14 yesterday but I don’t still it helped.
Manual back button
I have found that using $state.go() was the way to go to programmatically nagivate between pages. Only that it does not seem to support whether or not the animation should represent back or forward action. Use case: I have a home page that displays 7 days, if you click on 1 day you end up on a screen with a slide-box. That slide-box allows you to go any day you want, but that when my users click on the back button they get to the week corresponding to the day they were on, so not necessarily the same screen as the previous one. The problem is that the direction of the animation ends up being forward, which is really strange.
I tried using the directives navDirection and navTransition but I think that the fact that my custom back button is in the navbar creates some conflicts. I also tried to pass some parameters to the $state, and many other things that I cannot remember. Am I missing something?
Thanks in advance!
Fred