Date validation in AngularJS form -


I have an input with type text, I am using to set dates:

  & lt; Input ng-model = "model.JoinDate" ui-mask = "{{'99 / 99/9999 '}}" type = "text" required ng-class = "{error: form.joindate. $ Dirty & Amp; Amp; form.JoinDate. $ Invalid} "/ & gt;  

The problem is that the user can type something like 00/00/0000 How can I validate the date without creating a new instruction?

What is the use of the Angular UI Bootstrap Recorder?


Comments