How to leverage the ng-message for number type? Does ngMessage support max and min attributes? if so how can it be done?
DEMO LINK
Example link from angular
ngMessages
was officially introduced in version 1.3.0-beta.8
as a module, so you need to fix the following:
Use version 1.3.0-beta.8
or later (the latest is 1.3.0-beta.9
right now).
Include angular-messages[.min].js
in your HTML (it is a separate script).
Declare ngMessages
as a dependency of your module/app.
See, also, this short demo.