Edit in JSFiddle

var myApp = angular.module('myApp', []);


myApp.controller('MyCtrl', myController);
                 
myController.$inject = ['$scope','$timeout'];
   function myController($scope, $timeout) {

    document.getElementById('btn').onclick = function (e) {
        $timeout(function () {
            $scope.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: