<tr ng-repeat="ar in arrSOA | orderBy: orderByVar">
just use logic in js file to change $scope.orderByVar
$scope.addSOA = function () { $scope.displayOrderChanged = false; $scope.showAddSOA = true; $scope.orderByVar = "$index"; ....
$scope.addSOA = function () { $scope.displayOrderChanged = false; $scope.showAddSOA = true; $scope.orderByVar = "$index";
....
No comments:
Post a Comment