Sort and Filter a Table Using Angular

added by JavaScript Kicks
1/9/2015 2:41:49 PM

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