<div class="card mb-3">

    <div class="card-header">
        <i class="fas fa-table"></i> Danh Sách Dự Án
    </div>
    <div class="card-body" ng-app="ProjectApiModule">
        <div class="table-responsive" ng-controller="showProject">
            <a href="#" class="btn btn-primary btn-circle btn-sm" style="margin-bottom: 10px;"> Thêm </a>
            <input type="text" ng-model="search" placeholder="Search" style="margin-bottom: 10px;">
            <table class="table table-bordered" id="dataTable" width="100%"
                   cellspacing="0">
                <thead>
                <tr>
                    <th>Tên Dự Án</th>
                    <th>Mô tả ngắn</th>
                    <th>Ngày bắt đầu</th>
                    <th>Hạn giao</th>
                    <th>Trạng Thái</th>
                    <th>Thao Tác</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="project in listProject|filter:search">
                    <td>{{ project.name }}</td>
                    <td>{{ project.descriptions }}</td>
                    <td>{{ project.startDate | date:"dd/MM/yyyy" }}</td>
                    <td>{{ project.endDate | date:"dd/MM/yyyy" }}</td>
                    <td>{{ project.statusGet }}</td>
                    <td><a data-ng-href="#" class="btn btn-info btn-circle btn-sm">
                        Xem </a> <a data-ng-href="#" class="btn btn-warning btn-circle btn-sm">
                        Sửa </a>
                        <a class="btn btn-danger btn-circle btn-sm" ng-controller="deleteProject"
                           data-ng-click="deleteProject(project)">Xóa</a>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>