EDITABLE CODE:
LiveDemo:AngularJS : Form Validation
Note:Changes are reflected dynamically as the user input undergoes a change.