docs(guide/understanding_controller): fix incorrect property reference

Correct " model property `spice` " to " model property `customSpice` " to match the code sample

Closes #4812
This commit is contained in:
Aaditya Talwai 2013-11-06 14:02:09 -08:00 committed by Pete Bacon Darwin
parent 96ad0c7594
commit 5bf81bc111

View file

@ -200,7 +200,7 @@ previous example.
Notice that the `SpicyCtrl` Controller now defines just one method called `spicy`, which takes one
argument called `spice`. The template then refers to this Controller method and passes in a string
constant `'chili'` in the binding for the first button and a model property `spice` (bound to an
constant `'chili'` in the binding for the first button and a model property `customSpice` (bound to an
input box) in the second button.
## Scope Inheritance Example