date格式化
number格式化
currency货币格式化
filter查找
//上例结果:[{"age":12,"id":11,"name":"sunm xing"},{"age":44,"id":12,"name":"test abc"}]
{{ [{"age": 20,"name": "test abc"}
] | filter:{'name':'iphone'} }} //查找name为iphone的行
//上例结果:[{"age":20,"id":10,"name":"iphone"}]
orderBy对像排序
{{ [{"age": 20,"name": "test abc"}
] | orderBy:'id' }} //根据id升序排
] | orderBy:'id' }} //根据id升序排
limitTo字符串,对像的截取
{{ [{"age": 20,"name": "test abc"}
] | limitTo:1 }} //结果:[{"age":20,"name":"iphone"}]
] | limitTo:1 }} //结果:[{"age":20,"name":"iphone"}]
方便自己,方便他人。