JSFiddle - React, Tailwind, and code Playground
HTML
<body ng-app>
<datalist id="dataList">
<select id="select">
<option ng-repeat="val in temp" ng-hide="true" >{{val}}</option>
</select>
</datalist>
<input list="dataList" ng-model="fromLocation" />
</body>
JavaScript
function Main($scope) {
$scope.temp=["1","2","3"];
};