My form has two fields, and the submit button is disabled until those fields are filled with some text. However, if I add a third field dynamically using AngularJS, validation will not be supported for the new field.
Check out the example here
<button ng-click="adddynamicfield()">add dynamic field</button>
<form name="dynamicform" novalidate="true">
<input type ="text" dynamic-name name="name" ng-model="dynamicform1.name" required>
<input type ="text" dynamic-name name="age" class="age" ng-model="dynamicform1.age" required>
<button type="submit" ng-disabled="dynamicform.$invalid">submit</button>
</form>