JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<div ng-app ng-controller="Ctrl">
{{mytext}}
<br /><input id="textbox" type="text" ng-model="mytext" />
</div>
<button onclick="changeTextbox()">change it!</button>
<button onclick="fireInputEvent()">fire input event</button>
JavaScript
function Ctrl($scope){
}
function changeTextbox(){
$('#textbox').val('changed value!!');
}
function fireInputEvent(){
alert('hi');
$('#textbox').trigger('input');
}