<ion-card *ngIf="show" >
    <ion-item color="danger">
        <ion-label>{{message}}</ion-label>
        <ion-progress-bar slot="end"  *ngIf="loading" type="indeterminate"></ion-progress-bar>
        <ion-buttons slot="end">
            <ion-button (click)="reconnect()" *ngIf="showReconnect">Reconnect</ion-button>
            <ion-button (click)="isClosed = true"><ion-icon name="close"></ion-icon></ion-button>
        </ion-buttons>
    </ion-item>
</ion-card>
