diff options
| author | Colin Kahn | 2013-04-08 16:04:23 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-04-11 13:55:47 -0700 |
| commit | d56b62dcda4b0c403d28b7dbd5c1844a85d20e03 (patch) | |
| tree | 968fd9038007d1c2dc420990852a140e10e83352 | |
| parent | b94125ac149d1ff9e92ced80a738b78894b041a9 (diff) | |
| download | angular.js-d56b62dcda4b0c403d28b7dbd5c1844a85d20e03.tar.bz2 | |
docs(guide/filters): document multiple arguments syntax
Add example of using a filter with that accepts multiple arguments.
| -rw-r--r-- | docs/content/guide/dev_guide.templates.filters.using_filters.ngdoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/content/guide/dev_guide.templates.filters.using_filters.ngdoc b/docs/content/guide/dev_guide.templates.filters.using_filters.ngdoc index 9de4c943..f6b3b9ad 100644 --- a/docs/content/guide/dev_guide.templates.filters.using_filters.ngdoc +++ b/docs/content/guide/dev_guide.templates.filters.using_filters.ngdoc @@ -19,6 +19,10 @@ You can also pass colon-delimited arguments to filters, for example, to display 123 | number:2 +Use the same syntax for multiple arguments: + + myArray | orderBy:'timestamp':true + Here are some examples that show values before and after applying different filters to an expression in a binding: |
