JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<div ng-app ng-controller="Ctrl">
<input type="text" ng-model="value">{{ value }}
<button onclick="changeInput()">Change input</button>
</div>
JavaScript
function Ctrl($scope) {
$scope.value = "foobar";
}
function changeInput() {
$('input').val('barfoo').trigger('input');
}