Several page in Modal?
I’ve tried to make it @bengtler :
I add the “Ion-Tab” stuff in “Ion-Modal” and put the router config on the controller.
but the app is re-refreshing continously.
Hi @harkedian, I’ve forked your codepen and got it working with inline tabs, check it out:
PS: I suppose you’re just wiring the app’s structure right now, but to err on the safe side: make sure your navigation, headers, buttons etc. don’t all look the same way in the end!
Hi @nuba. I’ve look at your codepen and Cool! glad you’ve make it works (modal have a tab).
But i see the app is still continuously refresing,
And the Create button didn’t work also.
Is it due to the $stateProvider function?
Should we separate it in another js files?
@harkedian yes, I left the rest of the html and js untouched. The constant refresh was ui-router was trying to transition to /tab/home url. By ditching that unnecessary (for the purposes of this modal + tabs issue) stuff and the button is working fine. Also, $scope.newUser is now being cleaned after that modal button is clicked.