[Nightly] $ionicSlideBoxDelegate stopped working

In nightly $ionicSlideBoxDelegate.update(); stoped working.
But $scope.$ionicSlideBoxController.update(); dosen’t work as well. How can I update slidebox?

This is in flux right now. See :

CAUTION: Either of these methods is likely to change in the beta & nightlies.


Devs are working on getting the API right for $ionicXXXXControllers.

Hi Justin,

The problem here is that the slideBoxController is on a lower scope than MyCtrl.

Possible solutions:

  1. Move the ng-controller declaration down (it would work if you did <ion-content ng-controller="MyCtrl"> http://codepen.io/ionic/pen/79c111567548c1ea07217818f9b91bae/
  2. Assign the controller for the scroll to rootScope or the like. <ion-slide-box controller-bind="$root.$ionicSlideBoxController"> http://codepen.io/ionic/pen/41475b8566e306b8848aa15bd5a6274f/