JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app ng-controller='testCtlr'>
<input type="text" ng-list ng-model="array">
<button ng-click="updateArray()">Update Model</button>
<br>
Model: {{array}}
</div>
JavaScript
function testCtlr($scope) {
$scope.array = [];
$scope.updateArray = function() {
$scope.array.push('!');
}
}