currently, I have a vertical mat-stepper. it fills the steps using a *ngFor.
<mat-step [stepControl]="firstFormGroup" *ngFor="let stream of selectedStreamList; let indexOfelement = index;">
So, I want to detect the start of this stepper and end of this stepper to use as a variable. currently, I'm using a variable as a counter. I increment and decrement it to detect the mat step. but I want a good solution that that. So is there anyone that can help me with this matter?