Question and answer is powered by AnsPress.io
I want to put a dynamic name in a div, while I am using ngFor in my ionic apps.
I am following this code, but my code did not work.
<ion-col col-12 *ngFor="let result of results"> <div *ngIf="hideMe + result.auto_no" [innerHTML]="result.description"> </div> </ion-col>