Skip to content

Commit 61d22a4

Browse files
talwaijamesdaily
authored andcommitted
docs(guide/understanding_controller): fix incorrect property reference
Correct " model property `spice` " to " model property `customSpice` " to match the code sample Closes angular#4812
1 parent ff7fdc8 commit 61d22a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/controller.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ previous example.
200200

201201
Notice that the `SpicyCtrl` Controller now defines just one method called `spicy`, which takes one
202202
argument called `spice`. The template then refers to this Controller method and passes in a string
203-
constant `'chili'` in the binding for the first button and a model property `spice` (bound to an
203+
constant `'chili'` in the binding for the first button and a model property `customSpice` (bound to an
204204
input box) in the second button.
205205

206206
## Scope Inheritance Example

0 commit comments

Comments
 (0)