0
down vote
favorite
I am trying to implement 3 level nesting using ion-nav-view. However, I am not able to implement in completely.
The first problem is that when I click on the ‘Insights Type 1’ or
’Insights Type 2’ button, I don’t want the entire page to change but
only the inner ‘ion-nav-view’ part. I don’t need the sliding effect as
well.
Second, I want the variable passed in the URL
’#/tab/facts2/insights/:1’, (which is written as a constant 1 here) to
be used by the controller of state ‘tabs.facts2’ to initialize ‘code’
variable. I need to initialized some common data for the child states
using this variable in the parent controller itself.
I know it is possible if I use ‘#/tab/facts2/:1’ as my URL but that will
not take me directly to the desired state, which is
’tabs.facts2.insights1’.
here is the link to my complete code: http://codepen.io/anon/pen/bdYGJm