Edit in JSFiddle

function Ctrl($scope) {
  $scope.message = "Waiting 2000ms for update";
    
    setTimeout(function () {
        $scope.$apply(function () {
            $scope.message = "Timeout called!";
        });
    }, 2000);
}
<div ng:app ng-controller="Ctrl">
 {{message}}
 <br>
</div>