Fixing Dash in Words When Iterating in *ngFor in Angular

Viewed 95

I have to iterate non-product in *ngFor but it doesnt accept the -
It can only accept _ but in -

How would you be able to fix this?

*ngFor="let product of products?.non-product
1 Answers
Related