calling controller function from within a promise in external JS
问题 Ionic Tabs, root of tabs HTML has "RootTabCtrl", and "Tab1" (with "Tab1_Ctrl") has a form, other tabs are disabled . User submits form on Tab1 Tab1 Controller function kicks off. Controller Function calls an external function (not in controller). External function triggers, which executes a promise In promise "results", returned data is processed If X in returned data is true, trigger "RootTabCtrl" function to enable the other disabled tabs. I can track console messages triggering every step