Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49185

How to apply variable when Ionic Loading show?

$
0
0

@anhemdinh wrote:

Hi there! i have a problem need help.
function homeCtrl($scope, $ionicLoading) {
var home = this;
home.progressDownload = 0;

$ionicLoading.show({
template: '
Download...' + home.progressDownload + '%',
});

for (i = 0; i <=100; i++) {
home.progressDownload += i;
}
}

if bind in view html: "<\h4>Loading... {{home.progressDownload}}<\/h4>". it show that 1-100%; But on Ionic Loading, it not working 1-100%. Why? please help me!!!!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>