I asked the same thing some while back, but got no response: https://groups.google.com/d/topic/angular/X49pSeiLWJQ/discussion
In the mean time we wrote our own custom directives for validation. Those are too intimately coupled with out app to be generally useful, but it's not that hard. Basically a "validate" directive that is added to the input itself which checks can read the "min" and "max" attributes and Here is some more info (from somebody else): http://johnculviner.com/automatic-angular-js-validation-messages/ On Saturday, September 20, 2014 8:45:54 AM UTC+2, Adrian Andreias wrote: > > Hello, > > Is there a way to write a generic ng-message in the ng-messages-include > html that would reference min/max attributes of the referred input. > Something like: > > <span ng-message="min">The value must be in range {{ field.min }} to {{ > field.max }}.</span> > > > -- 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.
