*ngFor doesn't work in modal (Angular ionic)
问题 Im using angular in ionic application but in a modal the ngForm doesnt works. I think its cleary whit a simple code. <li *ngFor="let item of [1,2,3,4,5]; let i = index"> {{i}} {{item}} </li> this code show this in all rest of page -> list but in a modal create like this async presentModal(test){ const modal = await this.modalController.create({ component: TestPage, componentProps: { test } }); modal.onWillDismiss().then(dataReturned => { }); return await modal.present(); } dont show anything.