title: have carousel with three columns in angular js
body: <p>Good day,
  I have a carousel. i need to loop in and show 3 columns on each iteration. 
  basically, on the example below, i have set of images. i need to show three images each time with their information.<br>
  so shows 1 2 3 then 4 5 6 then 7 8 ... so each iteration is set of 3 images</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>angular.module('ui.bootstrap.demo', ['ui.bootstrap']);
  angular.module('ui.bootstrap.demo').controller('CarouselDemoCtrl', function ($scope) {
    $scope.myInterval = 5000;
    var slides = $scope.slides = [];
    $scope.addSlide = function() {
      var newWidth = 600 + slides.length + 1;
      slides.push({
        image: 'http://placekitten.com/' + newWidth + '/300',
        text: ['More','Extra','Lots of','Surplus'][slides.length % 4] + ' ' +
          ['Cats', 'Kittys', 'Felines', 'Cutes'][slides.length % 4]
      });
    };
    for (var i=0; i&lt;4; i++) {
      $scope.addSlide();
    }
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"&gt;&lt;/script&gt;
  &lt;!doctype html&gt;
  &lt;html ng-app="ui.bootstrap.demo"&gt;
    &lt;head&gt;
      &lt;script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js"&gt;&lt;/script&gt;
      &lt;script src="//angular-ui.github.io/bootstrap/ui-bootstrap-tpls-0.12.1.js"&gt;&lt;/script&gt;
      &lt;script src="example.js"&gt;&lt;/script&gt;
      &lt;link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"&gt;
    &lt;/head&gt;
    &lt;body&gt;
  
  &lt;div ng-controller="CarouselDemoCtrl"&gt;
    &lt;div style="height: 305px"&gt;
      &lt;carousel interval="myInterval"&gt;
        &lt;slide ng-repeat="slide in slides" active="slide.active"&gt;
          &lt;div class=row&gt;
            &lt;div class=col-xs-4&gt;
              &lt;img ng-src="{{slide.image}}" style="margin:auto;"&gt;
              &lt;div class="carousel-caption"&gt;
                &lt;h4&gt;Slide {{$index}}&lt;/h4&gt;
                &lt;p&gt;{{slide.text}}&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class=col-xs-4&gt;
              &lt;img ng-src="{{slide.image}}" style="margin:auto;"&gt;
              &lt;div class="carousel-caption"&gt;
                &lt;h4&gt;Slide {{$index+1}}&lt;/h4&gt;
                &lt;p&gt;{{slide.text}}&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class=col-xs-4&gt;
              &lt;img ng-src="{{slide.image}}" style="margin:auto;"&gt;
              &lt;div class="carousel-caption"&gt;
                &lt;h4&gt;Slide {{$index+2}}&lt;/h4&gt;
                &lt;p&gt;{{slide.text}}&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/slide&gt;
      &lt;/carousel&gt;
    &lt;/div&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-md-6"&gt;
        &lt;button type="button" class="btn btn-info" ng-click="addSlide()"&gt;Add Slide&lt;/button&gt;
      &lt;/div&gt;
      &lt;div class="col-md-6"&gt;
        Interval, in milliseconds: &lt;input type="number" class="form-control" ng-model="myInterval"&gt;
        &lt;br /&gt;Enter a negative number or 0 to stop the interval.
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>