Edit in JSFiddle

var myApp=angular.module("myApp",[]);myApp.controller("MyCtrl",function(n,t){document.getElementById("btn").onclick=function(){t(function(){n.name="Button clicked"})}});


//Recommendations:
/*

*/
<div ng-controller="MyCtrl">
    <button id="btn" type="button">Click me</button>
    <div>{{name}}</div>
</div>
<br/>


              

External resources loaded into this fiddle: