AngularJS ngRepeat and orderBy.

by Sajeetharan Sinnathurai

HTML

<div ng-app="myApp" ng-controller="ListCtrl">
     <tr ng-repeat="row in table">
          {{row}}
            <td ng-repeat="col in row">{{col}}</td>
        </tr>    
</div>

JavaScript

angular.module('myApp', [])
    .controller('ListCtrl', function($scope) {
         $scope.table.row[0] = [123, 456, 789] ;
    });