diff options
| author | Nelson Blaha | 2013-06-26 13:34:32 -0500 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-27 19:36:26 +0100 |
| commit | d57613cd6dd09a8b2ec08d5eab41c58fcfb671a5 (patch) | |
| tree | 8683cec97ffcf02681a8618d8dc614648e2b7a0a /docs/content/tutorial | |
| parent | f8109406002840ecb306966941ee240433b99223 (diff) | |
| download | angular.js-d57613cd6dd09a8b2ec08d5eab41c58fcfb671a5.tar.bz2 | |
docs(tutorial): add experiment showing reverse sort
Diffstat (limited to 'docs/content/tutorial')
| -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 |
