I didn't like the default validators so I built my own. The workaround I found was to build a custom datepicker directive that includes the 3rd party datepicker directive and adds validations to it.
On Tuesday, April 14, 2015 at 11:15:05 PM UTC-4, Sander Elias wrote: > > Hi Alex, > > Why aren't you adding your validator(s) to ngModel.$validators? You are > adding a lot of overhead + an extra watcher that is not really needed. > > Regards > Sander > > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
