src/components/autocomplete/js/autocompleteController.js
function focus($event) {
    hasFocus = true;

    if (isSearchable() && isMinLengthMet()) {
      handleQuery();
    }

    ctrl.hidden = shouldHide();

    evalAttr('ngFocus', { $event: $event });
  }
function focus($event) {
    hasFocus = true;

    if (isSearchable() && isMinLengthMet()) {
      handleQuery();
    }

    ctrl.hidden = shouldHide();

    evalAttr('ngFocus', { $event: $event });
  }
function focus ( $event ) { hasFocus = true ; if ( isSearchable ( ) && isMinLengthMet ( ) ) { handleQuery ( ) ; } ctrl . hidden = shouldHide ( ) ; evalAttr ( 'ngFocus' , { $event : $event } ) ; }
Handles input focus event, determines if the dropdown should show.
Handles input focus event determines if the dropdown should show .