摘要: As we type in the search textbox, all the columns in the table must be searched and only the matching rows should be displayed. Script.js : var app = 阅读全文
posted @ 2016-01-31 23:59 Gester.Lin 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Here is what we want to do 1. The data should be sorted when the table column header is clicked 2. The user should be able to sort in both the directi 阅读全文
posted @ 2016-01-31 23:47 Gester.Lin 阅读(221) 评论(0) 推荐(0) 编辑
摘要: To sort the data in Angular 1. Use orderBy filter {{ orderBy_expression | orderBy : expression : reverse}} Example : ng-repeat="employee in employees 阅读全文
posted @ 2016-01-31 23:30 Gester.Lin 阅读(197) 评论(0) 推荐(0) 编辑