Getting started on my first real Ionic project, I’ve run in to an interesting scenario. I have a tab bar at the bottom and two tabs can navigate to the same page. Others are not on a tab at all. I’ve solved this by creating a “hidden-tab” that’s hidden with CSS and I put any of my non-tab pages under that. I’m sure there must be a better way.
For now, that works, but I’ve lost nifty page animations. Is there a way to request a transition be used between two pages? Maybe an object that extends $location and accepts a second animation parameter? Something like:
Figured out how to format my states for pages not under a tab. The views parameter, along with parameter underneath are unnecessary. Just put your templateUrl and controller parameters directly under state. Like So:
// pages not underneath tab bar
It is, some things were able to be moved to a modal window that made a bit more sense. I can see there being a need to define transitions between states though. Given how states are not necessarily pages though, that might be a pandora’s box trying to make it work in every case.