Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 5bf81bc

Browse files
talwaipetebacondarwin
authored andcommitted
docs(guide/understanding_controller): fix incorrect property reference
Correct " model property `spice` " to " model property `customSpice` " to match the code sample Closes #4812
1 parent 96ad0c7 commit 5bf81bc

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)