I did created blank project.
export class HomePage {
i = 0;
constructor(public navCtrl: NavController) {
}
test() {
console.log('call', this.i++);
}
}
my home.html:
<ion-content padding>
<div>
{{test()}}
</div>
...
My question.
Why I see in console call method 9 times?
call 0
call 1
...
call 8
thanks.