<!--<link rel="stylesheet" href="../../css/bootstrap-combined.min.css">-->
<div class="container">
    <div class="row">
        <div class="col-md-8">

            <div>
                <table class="table">
                    <thead>
                    <tr>
                    <tr>

                        <td colspan="12">LIST OF CATAGORIES</td>
                    </tr>
                    <th>ID</th>
                    <th>Catagori Name</th>
                    <th>Number of News</th>
                    <th>Detail</th>
                    <th>Edit</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr class="vide" ng-repeat="cata in catagories">
                        <td>{{$index + 1}}</td>
                        <td>{{cata.name}}</td>
                        <td>{{cata.news.length}}</td>
                        <td><a href="http://localhost:8080/#/management/catagori/{{cata.id}}" ng-click="detailNews(emp);">Detail</a> </td>
                        <td><a href="#" ng-click="update(emp);">Edit</a> </td>

                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
