Hello,
At first, sorry for my english, i have doubts about how can i handle the $ionicLoading in this scenario, i have the following html page structure
<body ng-app="myApp">
<div ng-controller="HomeCtrl">
<!-- structure for HomeCtrl.......-->
<div ng-controller="ProfilesCtrl">
<!-- structure for ProfilesCtrl.......-->
</div>
</div>
</body>
so, when this page is loaded the HomeCtrl and ProfilesCtrl perform several promises, so i want to do a “$ionicLoading.hide()” when all promises (HomeCtrl and ProfilesCtrl) are resolved or rejected.
This scenario is repeated in a lots of other pages, so how can be the better solution for handle this scenario ?
Best regards