Skip to content

Commit da072a3

Browse files
naomiblackjamesdaily
authored andcommitted
docs: update step_04.ngdoc with a clarification
closes angular#5730
1 parent 1c567bb commit da072a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/tutorial/step_04.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ phonecatApp.controller('PhoneListCtrl', function ($scope) {
8888
record. This property is used to order phones by age.
8989

9090
* We added a line to the controller that sets the default value of `orderProp` to `age`. If we had
91-
not set the default value here, the model would stay uninitialized until our user picks an
92-
option from the drop down menu.
91+
not set a default value here, the `orderBy` filter would remain uninitialized until our
92+
user picked an option from the drop down menu.
9393

9494
This is a good time to talk about two-way data-binding. Notice that when the app is loaded in the
9595
browser, "Newest" is selected in the drop down menu. This is because we set `orderProp` to `'age'`

0 commit comments

Comments
 (0)