docs(guide/understanding-controllers): fix typo in example

Broken - $scope.spicy = 'very';
Works - $scope.spice = 'very';

Closes #4752
This commit is contained in:
joshbowdoin 2013-11-01 11:41:54 -07:00 committed by Pete Bacon Darwin
parent 5b1c972723
commit 159a63f538

View file

@ -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';