diff --git a/index.html b/index.html index 75512b2..b716684 100644 --- a/index.html +++ b/index.html @@ -264,7 +264,8 @@

Mode-Changing demo

-
function AceCtrl($scope) {
+
app.controller('AceCtrl', AceCtrl);
+function AceCtrl($scope) {
 // The modes
   $scope.modes = ['Scheme', 'XML', 'Javascript'];
   $scope.mode = $scope.modes[0];