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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…