Slide Box has one extra slide at the end


Hi Ionic Team! I’ve just gotten into your amazing framework.

There is a bug in SlideBox when ng-repeat is used: an extra pager button is added at the end, and when you navigate to that last non-existent slide, you can’t slide back or otherwise navigate. (I had to add a number input below the slide pager so I could enter another page, and it works again).

Printing the filtered array of slide contents shows X (filtered array length), but the slideCount() function counts X + 1.

Codepen link:


Put <ion-slide-pager></ion-slide-pager> outside <ion-slide-box></ion-slide-box>, if it’s inside it gets counted as a slide.