248 Views
We will be accomplishing this sorting feature using two of the variables that we created earlier ( $scope.sortType and $scope.sortReverse). We will also be using the Angular orderBy filter. Basically, applying a combination of sortType and sortReverse variables to an orderBy clause in our ng-repeat will sort the table.
0 comments