Update directly from .zip to have the version “neodymium-newt”. I still have problems using does-continue = “true” in an “ion-slide-box”. No continuously after the first cycle.
Code:
<div class="c" ng-controller="BannersCtrl">
<ion-slide-box delegate-handle="image-viewer" auto-play="true" slide-interval="4000" does-continue="true">
<ion-slide ng-repeat="banner in banners">
<a ng-click="abrirNavegador('{{banner.url}}');">
<img ng-src="{{banner.banner}}" />
</a>
</ion-slide>
</ion-slide-box>
</div>
angular.module('rm.bannersctrl', [])
.controller('BannersCtrl', function($scope, $ionicSlideBoxDelegate, BannerServ) {
BannerServ.getBanner().success(function (response) {
$scope.banners = response;
$ionicSlideBoxDelegate.$getByHandle('image-viewer').update();
}).error(function (response){
//$ionicLoading.hide();
});
$scope.abrirNavegador = function (enlace) {
window.open(enlace, '_blank', 'location=yes');
}
});
Are there any error? need to add something? Thanks