JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app ng-controller="test">
<input id="i" type="text" ng-model="val" style="width: 500px"> {{val}}
</div>
JavaScript
function test($scope) {
$scope.val = 'value from controller';
}
setInterval(function () {
document.getElementById('i').value += '.';
}, 1000);