Hide icon ionic 2


#1

Hi everyone, I want hide icon ProfilePage when use this.nav.push(ProfilePage).
this my code:
app.component.ts

openNotiPage(page) {
    this.nav.push(ProfilePage);
}

profile.html

<ion-navbar>
      <span ion-text color="primary" showWhen="ios">Cancel</span>
      <ion-icon (click)="dismiss()" name="md-close" showWhen="android, windows" style="float:right;margin-right: 15px; color: #fff; margin-top: 4px;"></ion-icon>
    <ion-title>{{'ProfilePage' | translate}}</ion-title>
  </ion-navbar>

How do I do that?