Hide or show card using ion-select

#1

Hi guys, I just wanted to know how can I hide or show a card using ion-select.
There will be two option hide and show based on the user selection the card will be displayed.

 <ion-label>Select: </ion-label>
    <ion-select [(ngModel)]="hisho">
      <ion-option value="sw">Show</ion-option>
      <ion-option value="hd">Hide</ion-option>
    </ion-select>
  </ion-item>
<!----- The card i want to hide/show --------->
 <ion-card>

      <ion-item class="img">
       <ion-img width="80" height="80" src="..."></ion-img>
      </ion-item>


  </ion-card>
#2

Use *ngIf in ion-card like this:

<ion-label>Select: </ion-label>
    <ion-select [(ngModel)]="hisho">
      <ion-option value="sw">Show</ion-option>
      <ion-option value="hd">Hide</ion-option>
    </ion-select>
  </ion-item>
<!----- The card i want to hide/show --------->
 <ion-card *ngIf="hisho=='sw'">

      <ion-item class="img">
       <ion-img width="80" height="80" src="..."></ion-img>
      </ion-item>

  </ion-card>