Back button not working


#1

Hello, I would like to know why my back button on page1->page2->page3 does not work; i click on it and url changes but view keeps the same.

I pasted my code here: http://embed.plnkr.co/o9Gt5SbEUI8jRWVhOGuL/preview


#2

Your link does not work

{
statusCode: 404,
error: "Not Found",
message: "Preview has expired or project does not exist."
}

#3

Sorry, I update it.

http://embed.plnkr.co/o9Gt5SbEUI8jRWVhOGuL/preview


#4

@murilokunze it works for me?


#5

Did you cliked on ‘Page 3’ link and then in the back button? It works? I’m testing on chrome and it did not work.


#6

Sorry you are right, i think i just went as far as page2.

In any case here is the plukr fixed: http://plnkr.co/edit/q5QbcUvDrsylqIaSFZkc

Basically you don’t need to create multiple nested states in uiRouter when working in tabbed views, just have all the sub-states in that tab use the “page1” ion-nav-view.


#7

Thanks, but when I click page 3, I want it open it in the same view that link is.