Can not use ion-slide-box


I am trying to make an app using ion-slide-box and to start with I am using sample code found at ‘$ionicSlideBoxDelegate/’ -

      <div class="box blue">
        <button ng-click="nextSlide()">Next slide!</button>
      <div class="box red">
        Slide 2!

also used

$scope.nextSlide = function() {

inside my controller.

This displays nothing … Am I making something terribly wrong ?

Please help.

So that example should be updated, as it doesn’t provide enough info

Check out this example for a more indepth look at slide-box