
<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="#/management/catagori/{{cata.id}}">Detail</a> </td>
                        <td><a href="#">Edit</a> </td>

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