<div>
  <umb-empty-state ng-if="results.length === 0" position="center">
    <localize key="general_searchNoResult"></localize>
  </umb-empty-state>

  <ul class="umb-tree">
    <li class="root">
      <ul class="umb-search-group">
        <li class="umb-search-group-item" ng-repeat="result in results">
          <div ng-class="{'umb-tree-node-checked' : result.selected}">
            <a href class="umb-search-group-item-link" ng-class="{first:$first}" ng-click="selectResultCallback($event, result)">
              <div class="umb-search-group-item-name">
                <i class="icon umb-tree-icon sprTree {{result.icon}}"></i>
                {{result.name}}
              </div>
              <small class="search-subtitle" ng-if="result.subTitle">{{result.subTitle}}</small>
            </a>
          </div>
        </li>
      </ul>
    </li>
  </ul>

</div>


