aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNelson Blaha2013-06-26 13:34:32 -0500
committerPete Bacon Darwin2013-06-27 19:36:26 +0100
commitd57613cd6dd09a8b2ec08d5eab41c58fcfb671a5 (patch)
tree8683cec97ffcf02681a8618d8dc614648e2b7a0a /docs
parentf8109406002840ecb306966941ee240433b99223 (diff)
downloadangular.js-d57613cd6dd09a8b2ec08d5eab41c58fcfb671a5.tar.bz2
docs(tutorial): add experiment showing reverse sort
Diffstat (limited to 'docs')
-rw-r--r--docs/content/tutorial/step_04.ngdoc2
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