Fix issue with the model not updating after inserting an autocomplete by properly using ngModel.$setViewValue