I have a div in which I do not use the form tag and do not submit the form to the ng-click button, but how can I apply verification of the data submitted to angulrjs.
<div ng-controller="AddNewvisaController"> <input type="text" class="form-control" ng-model="visa.requirement"> <select ng-model="visa.country"> <option value="1">abc<option> <option value="2">xyz<option> <option value="3">pqrs<option> </select> <button type="submit" data-ng-click="submitvisa()">Submit</button> </div>
source share