Skip to content

Commit 4696af7

Browse files
patreeceeopetebacondarwin
authored andcommitted
docs(tutorial/step-04): actually add age property to the code example
Closes angular#4400
1 parent b76ed0b commit 4696af7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/content/tutorial/step_04.ngdoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,14 @@ var phonecatApp = angular.module('phonecatApp', []);
7070
phonecatApp.controller('PhoneListCtrl', function PhoneListCtrl($scope) {
7171
$scope.phones = [
7272
{'name': 'Nexus S',
73-
'snippet': 'Fast just got faster with Nexus S.'},
73+
'snippet': 'Fast just got faster with Nexus S.',
74+
'age': 1},
7475
{'name': 'Motorola XOOM™ with Wi-Fi',
75-
'snippet': 'The Next, Next Generation tablet.'},
76+
'snippet': 'The Next, Next Generation tablet.',
77+
'age': 2},
7678
{'name': 'MOTOROLA XOOM™',
77-
'snippet': 'The Next, Next Generation tablet.'}
79+
'snippet': 'The Next, Next Generation tablet.',
80+
'age': 3}
7881
];
7982

8083
$scope.orderProp = 'age';

0 commit comments

Comments
 (0)