With Angular material stepper, my objective is to customize steps for reusing the stepper component. I am dynamically loading steps, so depending on the requirement, I need to load the stepper in different components. The scenarios I have are as follows:
I have the OfferComponent where I need to display 2 steps dynamically.
In another component, DataSource, I need to display 4 steps dynamically.
For an example, please check out this StackBlitz link:
https://stackblitz.com/edit/angular-material-stepper212?file=main.ts