So in what I suppose is fairly typical flow for an app, my app begins with a Login screen.
Upon successful login it moves to the home screen.
What I’m having trouble figuring out is this - which elements do I ng-controller to get everything to work?
Right now the body tag of index.html has ng-controller = LoginController
But the problem is: The “Home” view (after login) has side menus, managed by a MenuController, and then each individual page from there has its own Controller for the main content.
The menus/etc were working before I added the login screen, but that was with MenuController on the body tag and HomeController (and subsequent page controllers) on the ion-nav-view inside the ion-side-menu-content of the menus.
Is there a way to reach all the way up to the body tag and swap that controller, post login?
Is there another way to accomplish this?
I am using beta 1.0.2, btw.