'use strict';
angular.module("demoApp", ['threeStateCheckbox'])
    .controller('mainCtrl', [function() {
        var mc = this;
        mc.log = function () {
            console.log(attributes);
        };
        mc.model = false;
        mc.onChange = function(){
            mc.log("value changed => ", mc.model);
        };
        mc.getStringModel = function(){
            return JSON.stringify(mc.model);
        }
    }]);

@@ -126,87 +126,8 @@
 is;%0A
-        mc.log = function () %7B%0A            console.log(attributes);%0A        %7D;%0A
     
@@ -170,26 +170,22 @@
 hange = 
-function()
+() =%3E 
 %7B%0A      
@@ -190,18 +190,23 @@
         
-m
 c
+onsole
 .log(%22va
@@ -273,26 +273,22 @@
 Model = 
-function()
+() =%3E 
 %7B%0A      

Update app.js