InvalidValueError: not an instance of HTMLInputElement

i am using google location search autocomplete when i am using follow error throws

InvalidValueError: not an instance of HTMLInputElement

my code is

Hi ! Did you find a solution ? Thanks.

not yet found i used ng-focus instead of that