Invalid slide length when using $ionicSlideBoxDelegate, how to?

in v1.1.0, in ionic.bundle.js, when using $; i get

Cannot read property 'length' of undefined

it’s in this function, the slides.length, slides is undefined:

function next(slideSpeed) {
  if (options.continuous) slide(index + 1, slideSpeed);
  else if (index < slides.length - 1) slide(index + 1, slideSpeed);

It was working fine with v.1.0. .Im not doing anything special just getting some data from firebase and building an array to do a ng-repeat on.

if i change it to slides !== undefined && index < slides.length - 1 it works fine.


same issue with v1.1.1