diff options
| author | Nelson Blaha | 2013-06-26 13:34:32 -0500 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-27 19:36:46 +0100 |
| commit | 2ccfaffa747fbc106b1fc2f3d3663af089266f65 (patch) | |
| tree | 6701bef7dd29f2fca1b50d610d06f3fe4adbffae /docs/content/tutorial/step_04.ngdoc | |
| parent | 192672a162c661bea120252a76645dd23b4f7df3 (diff) | |
| download | angular.js-2ccfaffa747fbc106b1fc2f3d3663af089266f65.tar.bz2 | |
docs(tutorial): add experiment showing reverse sort
Diffstat (limited to 'docs/content/tutorial/step_04.ngdoc')
| -rw-r--r-- | docs/content/tutorial/step_04.ngdoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/tutorial/step_04.ngdoc b/docs/content/tutorial/step_04.ngdoc index ed9d02ba..fa8be6ed 100644 --- a/docs/content/tutorial/step_04.ngdoc +++ b/docs/content/tutorial/step_04.ngdoc @@ -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 |
