I have placed a simple fiddle here:
var myApp = angular.module('myApp', []);
myApp.controller('test', function($scope) {
$scope.cancelMessage = '';
$scope.clickTest = function(){
alert($scope.cancelMessage);
};
};
and have tried to follow the basic tutorial as closely as possible. However, I can't get any of the variables to bind. What am I doing wrong?