mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-03-30 23:18:53 +08:00
docs(tutorial): add experiment showing reverse sort
This commit is contained in:
committed by
Pete Bacon Darwin
parent
f810940600
commit
d57613cd6d
@@ -178,6 +178,8 @@ ordering will default to unordered/natural order.
|
||||
* Add an `{{orderProp}}` binding into the `index.html` template to display its current value as
|
||||
text.
|
||||
|
||||
* Reverse the sort order by adding a `-` symbol before the sorting value: `<option value="-age">Oldest</option>`
|
||||
|
||||
# Summary
|
||||
|
||||
Now that you have added list sorting and tested the app, go to {@link step_05 step 5} to learn
|
||||
|
||||
Reference in New Issue
Block a user