When looping through the results in an ion-list, I compare the values dynamically by using Angular's ngIf directive.
<ion-list>
// Loop the results
<ion-item *ngFor="let protocole of protocoles">
<ng-template [ngIf]="{{value}} == {{other_value}}">
<div>
<ion-label>
<h2>{{ protocole.item}} {{ modal_data_prot_detail_code }}</h2>
</ion-label>
</div>
// ELSE
</ng-template>
<ion-label><h2>{{ protocole.item}}</h2> </ion-label>
</ion-list>