I am facing an issue in my app where I have a progress bar that updates using a while loop. The problem is that the view only updates after the entire while loop has finished running, even though I am successfully changing the update progress value with each iteration. Is there any way to force the view to update on each loop, maybe by adding something like "ForceViewUpdate()" within the while loop?
To see an example of this issue and view the values being updated, you can check out my code here and open the console: https://stackblitz.com/edit/angular-5zlja4?file=app%2Fapp.component.ts