ng-if autocomplete