Here is my form which is working okay but there is 2 issues which confusing me
1) when user click on required input box and move away, it gives error below the text, but reset button is still disabled; how to enable reset button on error so that I can remove that error beneath input box. I have added
ng-disabled="movieForm.$pristine" ; on reset button; do I need to add anything else
2) when I write invalid entry in movie year box i.e. string instead of year than error appears; I click on reset button ; it clear the box value but than save button enabled. that is not desired.
Please help to fix this form issue