Template:
<tbody>
<tr>
<td>{{getRand()}}</td>
<td>{{getRand()}}</td>
</tr>
</tbody>
Method:
getRand(){
return Math.floor(Math.random()*100);
}
Error:
Expression has changed after it was checked. Previous value: '90'. Current value: '32'.
Can anyone explain why this error occurs? Why can't I call this method multiple times?