Angular: Empty Fiddle
http://angularjs.org/
HTML
<script src="http://code.angularjs.org/angular-1.0.1.js"></script>
<div>
<table>
<tr>
<th>
<td>
dileep
</td>
<td>
balineni
<tr>
1
</tr>
<tr></tr>
</td>
<th>
</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);
}