1<table class="bmc-table">
2  <thead>
3    <!-- Header row -->
4    <tr>
5      <th ng-repeat="header in $ctrl.model.header"
6          class="bmc-table__column-header">
7        {{header}}
8      </th>
9    </tr>
10  </thead>
11  <tbody>
12    <!-- Data rows -->
13    <tr ng-if="$ctrl.model.data.length > 0"
14        ng-repeat="row in $ctrl.model.data"
15        class="bmc-table__row">
16      <!-- Row item -->
17      <td ng-repeat="item in row.uiData"
18          class="bmc-table__cell">
19        {{item}}
20      </td>
21      <!-- Row Actions -->
22      <td ng-if="$ctrl.rowActionsEnabled"
23          class="bmc-table__cell  bmc-table__row-actions">
24        <table-actions
25          actions="row.actions"
26          emit-action="$ctrl.onEmitTableAction(action, row)">
27        </table-actions>
28      </td>
29    </tr>
30    <!-- Empty table -->
31    <tr ng-if="$ctrl.model.data.length === 0">
32      <td>No data</td>
33    </tr>
34  </tbody>
35</table>