<table class="table table-bordered table-responsive">
    <thead>
    <tr>
        <!--<th>{{ staffs[0].key }}</th>-->
        <th ng-repeat="(key,value) in staffs[0].data">{{ key }}</th>
        <th>action</th>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat="staff in staffs">
        <!--<td><a ng-href="#/staff/{{staff.id}}">{{staff.name}}</a></td>-->
        <td ng-repeat="(key,value) in staff.data">{{value}}</td>
        <td>
            <a ng-href="#/staff/edit/{{staff.key}}">Edit</a><br>
            <a ng-href="#/staff/{{staff.key}}">Show</a>
        </td>
    </tr>
    </tbody>
</table>