aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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';