Ion-slides with ngFor error

ORIGINAL EXCEPTION: TypeError: Attempted to assign to readonly property.

  <ion-slides pager>
    <ion-slide *ngFor="let slide of slides">
    </ion-slide>
  </ion-slides>

  slides: string[]=['a','a','a','a'];