I am New to angularJS. I have 6 Input tags without form . that use click on button. I want to make require;
here is code:
<td><input class="form-control" ng-model="contact.tradeMark" required="string" placeholder="Trade Mark" ></td>
<td><input class="form-control" ng-model="contact.applicationNo" placeholder="Application No"></td>
<td><input class="form-control" ng-model="contact.class" placeholder="Class"></td>
<td><input class="form-control" ng-model="contact.status" placeholder="Status"></td>
<td><input class="form-control" ng-model="contact.client" placeholder="Client"></td>
<td><input class="form-control" ng-model="contact.applicant" placeholder="Applicant"></td>
<td><input class="form-control" ng-model="contact.remark" placeholder="Remark"></td>
<td><button class="btn btn-primary" ng-click="addContact()">Add Contact</button></td>
<td><button class="btn btn-info" ng-click="update()">Update</button> <button class="btn btn-info" ng-click="deselect()">Clear</button></td>
Thanks in Advance