I need to hide page content until all data is loaded. First, I wanted to stretch loader but I found it
hard since I don’t want to hide header and tab headers.
I ended up with <ion-content ng-show="dataLoaded === true">
which works great.
In controller:
$ionicLoading.show();
dataLoaded = false;
$ionicLoading.hide();
dataLoaded = true;
1/ What do you think about this approach?
2/ Is there any method like $ionicLoading.isLoading() so that I don’t need to cotrol it manually using
dataLoaded = true/false?