aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaditya Talwai2013-11-06 14:02:09 -0800
committerPete Bacon Darwin2013-11-13 20:51:29 +0000
commit5bf81bc111a866ec65ef86c01336911e577df5df (patch)
treedb463c5975ca1eb2bbdf0664f5fedaa7a5009c2f
parent96ad0c75947671396de88b0ecc86309a51be6947 (diff)
downloadangular.js-5bf81bc111a866ec65ef86c01336911e577df5df.tar.bz2
docs(guide/understanding_controller): fix incorrect property reference
Correct " model property `spice` " to " model property `customSpice` " to match the code sample Closes #4812
-rw-r--r--docs/content/guide/controller.ngdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/guide/controller.ngdoc b/docs/content/guide/controller.ngdoc
index ad535175..29c37709 100644
--- a/docs/content/guide/controller.ngdoc
+++ b/docs/content/guide/controller.ngdoc
@@ -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