Edit in JSFiddle

var HelloCtrl = function($scope) {
    setTimeout(function() {
        $scope.$apply(function () {
            $scope.name = 'seikichi';
        });
    }, 3000);
};
<div ng-app ng-controller="HelloCtrl">
    <label>Name:</label>
    <input type="text" ng-model="name" placeholder="Enter a name here" />
    <hr/>
    <h1>Hello {{name}}!</h1>
</div>