<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="GetAPI">
        <div class="table-responsive" ng-controller="showProject">
            <a href="#" class="btn btn-primary btn-circle btn-sm" style="margin-bottom: 10px;"> Thêm </a>
            <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">
                    <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 data-ng-href="#" class="btn btn-danger btn-circle btn-sm">Xóa</a>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>

<!--angular js-->
<script src="components/project/projectController.js"></script>