mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-05 22:35:14 +08:00
docs(filter): improve syntax for usage in templates
This commit is contained in:
committed by
Pete Bacon Darwin
parent
9c6e34bfc1
commit
2bc4793ee8
@@ -69,7 +69,7 @@
|
||||
*
|
||||
* The general syntax in templates is as follows:
|
||||
*
|
||||
* {{ expression | [ filter_name ] }}
|
||||
* {{ expression [| filter_name[:parameter_value] ... ] }}
|
||||
*
|
||||
* @param {String} name Name of the filter function to retrieve
|
||||
* @return {Function} the filter function
|
||||
|
||||
Reference in New Issue
Block a user