<h2>{{title}}</h2>
<h3 ng-if="currentListToShow == 'participants'">{{'Participants' | translate }}</h3>
<h3 ng-if="currentListToShow == 'waitingList'">{{'Waiting list' | translate }}</h3>
<h3 ng-if="currentListToShow == 'attended'">{{'Attended' | translate }}</h3>
<table class="table">
    <thead>
        <tr>
            <th style="text-align:left;">{{'Name' | translate}}</th>
            <th style="text-align:left;">{{'Email' | translate}}</th>
        </tr>
    </thead>
    <tbody>
        <tr ng-repeat="principal in currentList.principals | filter:searchText | orderBy:'displayName'">
            <td>{{principal.displayName}}</td>
            <td>{{principal.email}}</td>
        </tr>
    </tbody>
</table>