<ul class="nav nav-tabs" role="tablist">
  <li ng-attr-class="{{tab == 'summary' && 'active' || 'inactive' }}"><a href="/indexes/{{indexName}}">Summary</a></li>
  <li ng-attr-class="{{tab == 'query' && 'active' || 'inactive' }}"><a href="/indexes/{{indexName}}/query">Query</a></li>
</ul>