You must split this numbers array into pieces, then use the ng-repeat nested.
JavaScript:
var i, l = $scope.numbers.length; $scope.chunks = []; for ( i = 0; i < l; i += 2) { $scope.chunks.push( $scope.numbers.slice(i, i + 2) ); }
HTML:
<div ng-controller="myController"> <ul ng-repeat="chunk in chunks"> <li ng-repeat="number in chunk">{{ number }}</li> </ul> </div>
See here in action .
source share