From 159a63f538a2880f1977f78f0223b47d6666be81 Mon Sep 17 00:00:00 2001 From: joshbowdoin Date: Fri, 1 Nov 2013 11:41:54 -0700 Subject: docs(guide/understanding-controllers): fix typo in example Broken - $scope.spicy = 'very'; Works - $scope.spice = 'very'; Closes #4752 --- docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc') 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'; -- cgit v1.2.3