code: function _resetSearchInput() {
      if (ctrl.resetSearchInput) {
        ctrl.search = EMPTY_SEARCH;
        //reset activeIndex
        if (!ctrl.multiple) {
          if (ctrl.selected && ctrl.items.length) {
            ctrl.activeIndex = _findIndex(ctrl.items, function(item){
              return angular.equals(this, item);
            }, ctrl.selected);
          } else {
            ctrl.activeIndex = 0;
          }
        }
      }
    }
docs: Most of the time the user does not want to empty the search input when in typeahead mode