<ion-list>
  <ion-item *ngFor="let menuItem of menuItems; let i = index" button (click)="onSelect(menuItems[i].value)" [title]="menuItems[i].title">
    <i slot="start" [ngClass]="menuItems[i].icon"></i>
    <ion-label>{{ menuItems[i].name }}</ion-label>
  </ion-item>
</ion-list>
