Change text in $ ionicLoading


#1

Hey!
I want to change the text of the $ionicLoading after 5 seconds
I did it but it does not change

var statusLoading = true;
$scope.TextLoading = '<span class="icon ion-looping LoadingData"></span><br />Loading data';
$scope.$ionicLoading.show({
	// The text to display in the loading indicator
	content: $scope.TextLoading,

	// The animation to use
	animation: 'fade-in',

	// Will a dark overlay or backdrop cover the entire view
	showBackdrop: true,

	// The maximum width of the loading indicator
	// Text will be wrapped if longer than maxWidth
	maxWidth: 200,

	// The delay in showing the indicator
	showDelay: 100
});
$timeout(function(){
	if(statusLoading==true){
		$scope.$watch(function(){
			$scope.TextLoading = '<span class="icon ion-looping LoadingData"></span><br />More Moments';
		});
	}
},5000);

Thank you!


#2

Right now there is no way to do it. A request has been opened though.



#3

Too bad!
Thanks anyway! :frowning: