How to hide slide-pager (slide-box) when item only has 1 image and show when has more?

<ion-slide-box class="items-slider" show-pager="if ({{item.images.length}}) > 0" on-slide-changed="slideHasChanged($index)"> <ion-slide ng-repeat="image in item.images track by $index"> <div class="box photo image"><img ng-src="{{image}}" alt="{{image}}" class="full-image"></div> </ion-slide> </ion-slide-box>

SOLVED --> show-pager="{{item.images.length > 1 ? true : false}}"

I’ve tried using your solution but I don’t think it will work for me (using Ionic v3). I get the following error:
Template parse errors: Can't bind to 'show-pager' since it isn't a known property of 'ion-slides

My HTML code for slider is:
<ion-slides (ionSlideReachStart)="reachedStart()" (ionSlideDidChange)="slideChanged()" pager #imageSlides>