I am trying to show a ngx-bootstrap progress bar while my app is loading data from a csv file.
The Problem: The ui is frozen until the whole operation is over
I used setTimeout to split the loading and called it recursively. I also tried to call ngZone.run() and applicationRef.tick() and changeDetectorRef.markForCheck() ... without any success the progress bar only shows up full at the end of the operation.
I made a simpler stackblitz so you guys can show me how I can implement this. it's much simpler bcs in my code I put it in a service and I get the results through an observable. but if this works at least I would know what I'm doing wrong. https://stackblitz.com/edit/angular-gzdylf