I\'m creating a directive to exclude a hidden input element from validation: http://plnkr.co/edit/Vnwvq2AT7JpgTnoQwGh9?p=preview
app.directive(\'shownValidat
It seems you are hiding the element using ng-show and thus not submitting the input along with the form.
ng-show
In this case, we can use ng-if directive in the view in order to remove the element on the fly. This would remove the element and it's validity too.
ng-if