docs(tutorial/step-5): include sort and filter in json view experiment

Closes #10082
This commit is contained in:
Brian Westrich
2014-11-16 09:19:59 -06:00
committed by Peter Bacon Darwin
parent 2901c53f42
commit eec2020518

View File

@@ -258,8 +258,8 @@ You should now see the following output in the Karma tab:
# Experiments
* At the bottom of `index.html`, add a `<pre>{{phones | json}}</pre>` binding to see the list of phones
displayed in json format.
* At the bottom of `index.html`, add a `<pre>{{phones | filter:query | orderBy:orderProp | json}}</pre>`
binding to see the list of phones displayed in json format.
* In the `PhoneListCtrl` controller, pre-process the http response by limiting the number of phones
to the first 5 in the list. Use the following code in the `$http` callback: