Angular & Ionic State Change and history

Hi there!

I’m quite new to AngularJS as well as Ionic. Was wondering if anyone could help me figure out how to set a certain history before a state change?

Currently I have $state.go('app.lineup',{ 'lineupId': navURLID}); and I want to point the back button to 'app.lineups' which is the parent for the ‘app.lineup’ page.

Everything in my code works well however when I redirect a user to another state the back button returns me to the state I sent them from and not the parent state that I need to send them to?

Any help (even in the form of internet references ;)) will be greatly appreciated :).

Thanks a mil!

Resolved :slight_smile: http://stackoverflow.com/questions/28133031/angular-ionic-state-change-and-history/28133248#28133248