I have a getter to return a value that is calculated in another function. It has the form like this:
private get numErrors() {
return calculateErrors(key);
}
In my html I have {{ $ctrl.numErrors }}
. I am using AngularJS. This renders {{ $ctrl. numErrors }} for a few seconds before the value numerical value is calculated and displayed. Is there a way I can get it to initially display 0 before I get a return value?