<code style=
"box-sizing:border-box;font-family:Menlo, Monaco, Consolas, 'Courier New', monospace;font-size:inherit;padding:0px;color:inherit;background-color:transparent;white-space:pre-wrap;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;"
><span style=
"box-sizing:border-box;color:rgb(153, 153, 136);"
><!-- using attribute directives --></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:navy;"
><ANY</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
> </span><span style=
"box-sizing:border-box;color:teal;"
>ng-messages</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>=</span><span style=
"box-sizing:border-box;color:rgb(221, 17, 68);"
>
"expression"
</span><span style=
"box-sizing:border-box;color:navy;"
>></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:navy;"
><ANY</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
> </span><span style=
"box-sizing:border-box;color:teal;"
>ng-message</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>=</span><span style=
"box-sizing:border-box;color:rgb(221, 17, 68);"
>
"keyValue1"
</span><span style=
"box-sizing:border-box;color:navy;"
>></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>...</span><span style=
"box-sizing:border-box;color:navy;"
></ANY></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:navy;"
><ANY</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
> </span><span style=
"box-sizing:border-box;color:teal;"
>ng-message</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>=</span><span style=
"box-sizing:border-box;color:rgb(221, 17, 68);"
>
"keyValue2"
</span><span style=
"box-sizing:border-box;color:navy;"
>></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>...</span><span style=
"box-sizing:border-box;color:navy;"
></ANY></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:navy;"
><ANY</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
> </span><span style=
"box-sizing:border-box;color:teal;"
>ng-message</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>=</span><span style=
"box-sizing:border-box;color:rgb(221, 17, 68);"
>
"keyValue3"
</span><span style=
"box-sizing:border-box;color:navy;"
>></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>...</span><span style=
"box-sizing:border-box;color:navy;"
></ANY></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:navy;"
></ANY></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:rgb(153, 153, 136);"
><!--
or
by using element directives --></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:navy;"
><ng-messages</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
> </span><span style=
"box-sizing:border-box;color:teal;"
>
for
</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>=</span><span style=
"box-sizing:border-box;color:rgb(221, 17, 68);"
>
"expression"
</span><span style=
"box-sizing:border-box;color:navy;"
>></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:navy;"
><ng-message</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
> </span><span style=
"box-sizing:border-box;color:teal;"
>when</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>=</span><span style=
"box-sizing:border-box;color:rgb(221, 17, 68);"
>
"keyValue1"
</span><span style=
"box-sizing:border-box;color:navy;"
>></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>...</span><span style=
"box-sizing:border-box;color:navy;"
></ng-message></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:navy;"
><ng-message</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
> </span><span style=
"box-sizing:border-box;color:teal;"
>when</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>=</span><span style=
"box-sizing:border-box;color:rgb(221, 17, 68);"
>
"keyValue2"
</span><span style=
"box-sizing:border-box;color:navy;"
>></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>...</span><span style=
"box-sizing:border-box;color:navy;"
></ng-message></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:navy;"
><ng-message</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
> </span><span style=
"box-sizing:border-box;color:teal;"
>when</span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>=</span><span style=
"box-sizing:border-box;color:rgb(221, 17, 68);"
>
"keyValue3"
</span><span style=
"box-sizing:border-box;color:navy;"
>></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>...</span><span style=
"box-sizing:border-box;color:navy;"
></ng-message></span><span style=
"box-sizing:border-box;color:rgb(51, 51, 51);"
>
</span><span style=
"box-sizing:border-box;color:navy;"
></ng-messages></span></code>