Here's some progress on this: https://github.com/angular/angular.js/issues/6974
On Tuesday, March 25, 2014 12:54:09 PM UTC-4, Gordon Bockus wrote: > > Hello, > I'm working on a wizard style page where I want to have a previous/next > buttons to navigate from step to step. I'm using the ui-router and > animation to add the sliding effect. The problem I've run into is > reversing the animation direction. When the user clicks the previous > button the current view uses the wrong direction class for exit. I added a > toggle button and if that is clicked then the previous button the animation > is correct. I forked the ui-router animation example to demonstrate. > http://plnkr.co/edit/kSsW9T?p=preview > It seems I'd need to alter the button handler to allow digest loop after > altering the scope to drive the animation class change, then calling the > state transition. Any thoughts on the cleanest way to do this are > appreciated. > > FWIW I also created an example using the standard router and it works out > of the box: http://plnkr.co/edit/APFNx7jyfBCCmwunfOg5?p=preview > > Thanks, > Gordon > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
