I am getting this error using Google Autocomplete
InvalidValueError: not an instance of HTMLInputElement
I am using this in my view
<input id="destination" ng-model="achSearch.destination" type="text" class="form-control" required="required"/>
This is my js
var input = document.getElementById('destination');