
<form name="myForm" novalidate ng-submit="editNews(newsEditById)" >
    <table border= 1>
        <tr>
            <td>News Id</td>
            <td>{{newsEditById.id}}</td>
        </tr>
        <tr>
            <td>Thumbnail</td>
            <td><input type="text" data-ng-model="newsEditById.thumbnail" /></td>
        </tr>
        <tr>
            <td>Title</td>
            <td><input type="text" ng-model="newsEditById.title"  /></td>
        </tr>

        <tr>
            <td>Content</td>
            <td><input type="text" data-ng-model="newsEditById.content"  /></td>
        </tr>
        <tr>
            <td>Status</td>
            <td><input type="text" data-ng-model="newsEditById.status"  /></td>
        </tr>
        <tr>
            <td colspan="2">
                <input  data-ng-disabled="myForm.$invalid" type="submit" value="Submit" class="blue-button" />
            </td>
        </tr>
    </table>
</form>
