I had a question and that is that I want to print an element in the ionic view a number of times according to a numeric variable
let's say:
public numero = 4;
then in the view try doing a kind of cycle with *ngFor
but without results (because I usually use it with Arrays)
Then do some research and read about ngrepeat
I want to print a star according to the number I sent it, that is, if you sent it a four-star print
<ion-icon ng-repeat="i in numero" color="yellow" ios="ios-star" md="md-star" ></ion-icon>