@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