I have a modal dialog. The modal has a list of people. By clicking on a specific person i want to navigate to another page in my app. For some reason if I don’t include the page in an in the footer of my app, the navigation never happens. I should mention that I am using tab navigation in the footer of the app, but it seems weird to me that I need to define all my pages as tabs in the footer in order to navigate to them. Any ideas on how i can navigate to a page from my modal dialog without having to add the page as a tab in the footer?
Also i checked the network traffic and the pages does return a 200, it just never shows in the app.
launching the modal and then clicking on contacts should redirect you to a ‘new contacts’ page. but in reality nothing happens except the modal hiding …
technically there is no problem,
the problem in your codepen was you do not have an tab called newcontact-tab
Second the controller:
i would recommend not using $ionicModal as parameter in a function, because its a controller/service/directive from Ionic.
Also try to init the variables you are using in a controller.