angularjs - Navigation between two ion-views without nav bar -
i'm using awesome framework ionic build first application.
i want able navigate between ion views without need use nav bar.
i have page1 , page2 can navigate page 2 page 1 can page 1 page 2.
i'm using simple button naviate :
<button class="button button-clear button-positive" ui-sref="tab.chats" >go</button>
here full code : plunker code + demo
you're using tabs wrong.
your tabs must wrapped in tabs
directive.
<ion-tabs class="tabs-item-hide"> <ion-tab title="dash" href="#/tab/dash"> <ion-nav-view name="tab-dash"></ion-nav-view> </ion-tab> <ion-tab title="chats" href="#/tab/chats"> <ion-nav-view name="tab-chats"></ion-nav-view> </ion-tab> </ion-tabs>
tabs-item-hide
cause want hide them.
Comments
Post a Comment