# How can I go directly to a nested state with the back button to its parent state

**URL:** <https://forum.ionicframework.com/t/how-can-i-go-directly-to-a-nested-state-with-the-back-button-to-its-parent-state/15558>\
**Category:** ionic-v1\
**Created:** [January 12, 2015, 10:19pm UTC](https://forum.ionicframework.com/t/how-can-i-go-directly-to-a-nested-state-with-the-back-button-to-its-parent-state/15558 "2015-01-12T22:19:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![micmia](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@micmia](https://forum.ionicframework.com/u/micmia)\
**Post date:** [January 12, 2015, 10:19pm UTC](https://forum.ionicframework.com/t/how-can-i-go-directly-to-a-nested-state-with-the-back-button-to-its-parent-state/15558/1 "2015-01-12T22:19:49Z")

</div>

I’m using Ionic Framework 1.0.0-beta.14. In my case, I want to go to a nested state directly, and have the back button to its parent. This sample [http://codepen.io/TimothyKrell/pen/bnukj](http://codepen.io/TimothyKrell/pen/bnukj) is exactly what I want to achieve. I’ve tested it in 1.0.0-beta.14, but it does not work. Do you guys have any ideas? Thanks!

---

<div class="post-metadata">

**Author:** ![mikem](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mikem/32/9046_2.png) [@mikem](https://forum.ionicframework.com/u/mikem)\
**Post date:** [January 23, 2015, 8:18pm UTC](https://forum.ionicframework.com/t/how-can-i-go-directly-to-a-nested-state-with-the-back-button-to-its-parent-state/15558/3 "2015-01-23T20:18:09Z")

</div>

I’ll say that i’m having the same issue!

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [January 23, 2015, 8:35pm UTC](https://forum.ionicframework.com/t/how-can-i-go-directly-to-a-nested-state-with-the-back-button-to-its-parent-state/15558/4 "2015-01-23T20:35:03Z")

</div>

You can inject a button into the root view and define with animation to use.

> **[Tabs And Navigation: Nightly](https://codepen.io/mhartington/pen/pvweYg)**
>
> Demo showing how each tab has its own history stack. Navigating between each tab remembers the correct back and forward views that were visited. Forke...

---

<div class="post-metadata">

**Author:** ![mikem](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mikem/32/9046_2.png) [@mikem](https://forum.ionicframework.com/u/mikem)\
**Post date:** [April 3, 2015, 7:47pm UTC](https://forum.ionicframework.com/t/how-can-i-go-directly-to-a-nested-state-with-the-back-button-to-its-parent-state/15558/5 "2015-04-03T19:47:30Z")

</div>

This was another great solution as well:

> **[Custom Ionic Tabs And Nested State Navigation Beta14](https://codepen.io/TimothyKrell/pen/XJparR?editors=101)**
>
> Navigate in tabs by simply going up the state tree. This angular module monkey patches some of Ionic's methods to provide the expected behavior. Updat...

^posting in case anyone else should happen to come across this thread
