For some reason this thing is not working. I can use it indeterminate mode fine. It shows and spins as it should. But I need to show the user's the value of where it is in the process.
This is my HTML
<mat-progress-spinner *ngIf='ShowLoader'
class="progressSpinner"
[color]="myCustomColor"
[value]="myCustomValue"
[mode]="mode">
</mat-progress-spinner>
My typescript
myCustomColor = 'primary';
mode = 'determinate';
myCustomValue: number = 0;
then on my pageload function just as a test example
pageload() {
    this.ShowLoader = true;
    for (let i = 0; i < 1000; i++) {
       const num = ((i / 1000) * 100);
      setTimeout(() => {
        this.myCustomValue = num;
      }, 500);
    }
}
 
    