mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(tutorial): add experiment showing reverse sort
This commit is contained in:
parent
192672a162
commit
2ccfaffa74
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue