i have a requirement where i need to change jquery image slider which is built using simple carousel to angularjs.
It typically looks like below:
I came across many image slider but which is single but not found multiple image slider. So can anyone share the appropriate link which is developed using angularjs-carousel with responsive. If there is any link in it is built dynamically from database will be much more useful.
Thanks in advance
I think This like you want
$scope.$watch('slides', function(values) {
var i, a = [], b;
for (i = 0; i < $scope.slides.length; i += 2) {
b = { image1: $scope.slides[i] };
if ($scope.slides[i + 1]) {
b.image2 = $scope.slides[i + 1];
}
a.push(b);
}
$scope.groupedSlides = a;
}, true);