I feel like I’ve got a pretty good handle on things, but as I’m building out my first (larger size) app, I’m starting to be concerned with the size of my controller.
Currently, I’m using 3 tabs in the main app, plus a handful of ionicModals to add a few extra menus to the app.
Due to the fact that the modals can’t easily be passed controllers, I’ve included them under the main app controller (AppCtrl). I’ve also started to put the controller base for the three tabs into AppCtrl (this is probably temporary, the tabs will most likely end up with their own controllers: Tab1Ctrl etc).
My question is: how necessary is it to split up AppCtrl? Will it effect performance.
Any other thoughts are welcome too.