<h2>Employees
    <div class="form-group col-md-9 pull-right">
        <div class="col-md-10">
            <input type="text" class="form-control" placeholder="Search" ng-model="search">
        </div>
        <div class="col-md-2">
        <a href="/Employee" class="btn btn-success btn-block">Add <i
                class="glyphicon glyphicon-plus"></i></a>
            </div>
    </div>
</h2>
<table class="table table-condensed table-bordered table-striped">
    <thead>
    <tr>
        <th>Code</th>
        <th>Name</th>
        <th>Designation</th>
        <th>Salary</th>
        <th>Service Points</th>
        <th>Department</th>
        <th>Joining Date</th>
        <th>Leaving Date</th>
    </tr>
    </thead>
    <tbody id="tbodyMain">
    <tr ng-repeat="item in employees">
        <td>{{item.Code}}</td>
        <td><a href="{{item.Url}}">{{item.Name}}</a></td>
        <td>{{item.Designation}}</td>
        <td>{{item.Salary}}</td>
        <td>{{item.ServicePoints}}</td>
        <td>{{item.CostCenter}}</td>
        <td>{{item.JoiningDate}}</td>
        <td>{{item.LeavingDate}}</td>
    </tr>
    </tbody>
</table>
