aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorjoshbowdoin2013-11-01 11:41:54 -0700
committerPete Bacon Darwin2013-11-04 22:24:18 +0000
commit159a63f538a2880f1977f78f0223b47d6666be81 (patch)
tree9cf27bf0d40f96250ab8ceaeb431e6796c35fa26 /docs
parent5b1c972723df52cce089e743a92a3c45e82b592e (diff)
downloadangular.js-159a63f538a2880f1977f78f0223b47d6666be81.tar.bz2
docs(guide/understanding-controllers): fix typo in example
Broken - $scope.spicy = 'very'; Works - $scope.spice = 'very'; Closes #4752
Diffstat (limited to 'docs')
-rw-r--r--docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc b/docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc
index 7d36d65d..3cf1940d 100644
--- a/docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc
+++ b/docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc
@@ -145,7 +145,7 @@ string "very". Depending on which button is clicked, the `spice` model is set to
var myApp = angular.module('spicyApp1', []);
myApp.controller('SpicyCtrl', ['$scope', function($scope){
- $scope.spicy = 'very';
+ $scope.spice = 'very';
$scope.chiliSpicy = function() {
$scope.spice = 'chili';