The code below seems to work pretty well for doing basic required form validation.
The form displays a red Name is required message when the field is dirty
index.php
Required! Add New user Save Change Password Is Very Short. Password Is Very Long.
Password Is Very Short.
Password Is Very Long.
In app.js include this function :
$scope.submitForm = function() { if ($scope.myForm.$valid) { alert('Our Form Is Submited....'); } };