I have this in my controller right now, but it only shows the spinner for a second and then goes away, even though the content is still clearly loading
$scope.$on("$ionicView.beforeEnter", function(event, data) {
$ionicLoading.show({
template: '<p>Loading...</p><ion-spinner></ion-spinner>'
});
});
$scope.$on("$ionicView.afterEnter", function(event, data) {
$ionicLoading.hide();
});
Any help would be appreciated. Thanks :)