01 2016 档案

摘要: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 阅读(232) 评论(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 阅读(234) 评论(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 阅读(207) 评论(0) 推荐(0)
摘要:Filters in angular can do 3 different things1. Format data2. Sort data3. Filter dataFilters can be used with a binding expression or a directiveTo app... 阅读全文
posted @ 2016-01-05 01:53 Gester.Lin 阅读(276) 评论(0) 推荐(0)
摘要:Let us understand with an example. Here is what we want to do. 1. Display the list of technologies in a table 2. Provide the ability to like and disli 阅读全文
posted @ 2016-01-05 01:34 Gester.Lin 阅读(277) 评论(0) 推荐(0)
摘要:ng-repeat is similar to foreach loop in C#. Let us understand this with an example. Here is what we want to do. 1. For each employee we have in the em 阅读全文
posted @ 2016-01-05 01:23 Gester.Lin 阅读(435) 评论(0) 推荐(1)
摘要: 阅读全文
posted @ 2016-01-04 06:21 Gester.Lin 阅读(164) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-01-04 06:15 Gester.Lin 阅读(145) 评论(0) 推荐(0)
摘要:What happens if the controller name is misspelled?When the controller name is misspelled, 2 things happen1, An error is raised. To see the error, use ... 阅读全文
posted @ 2016-01-04 06:06 Gester.Lin 阅读(169) 评论(0) 推荐(0)