Skip to content

Commit 5cc6a4e

Browse files
joshbowdoinjamesdaily
authored andcommitted
docs(guide/understanding-controllers): fix typo in example
Broken - $scope.spicy = 'very'; Works - $scope.spice = 'very'; Closes angular#4752
1 parent 202d1b4 commit 5cc6a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ string "very". Depending on which button is clicked, the `spice` model is set to
145145
var myApp = angular.module('spicyApp1', []);
146146

147147
myApp.controller('SpicyCtrl', ['$scope', function($scope){
148-
$scope.spicy = 'very';
148+
$scope.spice = 'very';
149149

150150
$scope.chiliSpicy = function() {
151151
$scope.spice = 'chili';

0 commit comments

Comments
 (0)