#661 Fixed error with form validation of hidden inputs using ng-hide