aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/tutorial
diff options
context:
space:
mode:
authorPatrick Canfield2013-10-13 16:59:25 -0700
committerPete Bacon Darwin2013-10-14 06:25:20 +0100
commit4696af79ec8f7b7dd76d34623c72dbdaaec17889 (patch)
tree706a56b8527e1ac153ff50941692899d2bc9f366 /docs/content/tutorial
parentb76ed0b28cf77a46e8b0e76bf365462adc21d9b2 (diff)
downloadangular.js-4696af79ec8f7b7dd76d34623c72dbdaaec17889.tar.bz2
docs(tutorial/step-04): actually add age property to the code example
Closes #4400
Diffstat (limited to 'docs/content/tutorial')
-rw-r--r--docs/content/tutorial/step_04.ngdoc9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/content/tutorial/step_04.ngdoc b/docs/content/tutorial/step_04.ngdoc
index 2e92cfb2..5adf783f 100644
--- a/docs/content/tutorial/step_04.ngdoc
+++ b/docs/content/tutorial/step_04.ngdoc
@@ -70,11 +70,14 @@ var phonecatApp = angular.module('phonecatApp', []);
phonecatApp.controller('PhoneListCtrl', function PhoneListCtrl($scope) {
$scope.phones = [
{'name': 'Nexus S',
- 'snippet': 'Fast just got faster with Nexus S.'},
+ 'snippet': 'Fast just got faster with Nexus S.',
+ 'age': 1},
{'name': 'Motorola XOOMâ„¢ with Wi-Fi',
- 'snippet': 'The Next, Next Generation tablet.'},
+ 'snippet': 'The Next, Next Generation tablet.',
+ 'age': 2},
{'name': 'MOTOROLA XOOMâ„¢',
- 'snippet': 'The Next, Next Generation tablet.'}
+ 'snippet': 'The Next, Next Generation tablet.',
+ 'age': 3}
];
$scope.orderProp = 'age';