Ionic ion-slide-box

Hi, I have an ionic-slide-box, and I want when I click, go to a html, with the number of slide I did clik as a parameter. Then I want to show an alert, or something. I would be grateful if I can provide help, how to do and how to see the number of slide. Thank you very much . In ion-slide-box, ng-click=“nextSlide()”

controller:
$scope.nextSlide = function() {
var aaa = String($ionicSlideBoxDelegate.currentIndex());
alert(aaa);
};