MemberAprayArray - массив с некоторыми значениями. Мне нужно проверить, присутствует ли в массиве event.listDetails.accessId или нет. Если accessId не существует в массиве, то событие-карта не должна печататьОшибка получения с использованием ngFor и ngIf в Angulsrjs2 и Ionic 2
<ion-list *ngSwitchCase="'joined'">
<event-card *ngIf="event.listDetails.accessId in joinedArray " ></event-card>
</ion-list>
ошибка:
EXCEPTION: Error: Uncaught (in promise): Template parse errors: Property binding ngIfIn not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "directives" section. ("e keys and i have to check if it is present in the array or not ..please suggest-->--> [ERROR ->] "): [email protected]:12