
<div class="container">

    <div >
            <div>
                <table class="table" >
                    <thead>
                    <tr>
                    <tr>
                        <a ui-sref="CatagoriManagement"><< Back</a>
                        <td colspan="12"><h1 style="font-size: 30px;text-align: center">{{catagoriById.name}}</h1></td>
                    </tr>
                    <th>STT</th>
                    <th>News title</th>
                    <th>Create Date</th>
                    <th>Content</th>
                    <th>Edit</th>
                    <th>Delete</th>

                    </tr>
                    </thead>
                    <tbody>
                    <tr class="vide" ng-repeat="myNews in catagoriById.news">
                        <td>{{$index + 1}}</td>
                        <td>{{myNews.title}}</td>
                        <td>{{myNews.createdAt}}</td>
                        <td>{{myNews.content}}</td>
                        <td><a href="#/management/catagori/{{catagoriById.id}}/news/{{myNews.id}}" style="color:green;border: 1px solid black;padding: 10px;" >Edit</a> </td>
                        <td><button type="button"  style="color:red;border: 1px solid black;padding: 10px;" ng-click="deleteNews(myNews.id)">Delete</button> </td>
                        <td><button type="button" ng-click=""></button>Add</td>
                    </tr>
                    </tbody>
                </table>
            </div>Add
    </div>

</div>
