Angular: Empty Fiddle
http://angularjs.org/
by Pratik Bhattachary
HTML
<script src="http://code.angularjs.org/angular-1.0.1.js"></script>
<div ng-controller="MyCtrl">
<input type="text" ng-model="filterText"/>
<table>
<tr ng-repeat="item in items = (obj | filter: filterText)" ng-show="$index < arrLength">
<td>{{items[$index*2]}}</td>
<td> {{items[$index*2+1]}}</td>
</tr>
</table>
</div>
JavaScript
var myApp = angular.module('myApp', []);
//myApp.directive('myDirective', function() {});
//myApp.factory('myService', function() {});
function MyCtrl($scope) {
$scope.name = 'Superhero';
$scope.obj = ["data-1", "data-2", "data-3", "data-4"];
$scope.arrLength = $scope.obj.length / 2;
$scope.arr = Array.apply(null, {
length: $scope.obj.length/2
}).map(Number.call, Number);
}