 error messages at once:</p>
<pre><code class="lang-html">&lt;!-- attribute-style usage --&gt;
&lt;div ng-messages=&quot;myForm.myField.$error&quot; ng-messages-multiple&gt;...&lt;/div&gt;

&lt;!-- element-style usage --&gt;
&lt;ng-messages for=&quot;myForm.myField.$error&quot; multiple&gt;...&lt;/ng-messages&gt;
</code></pre>
<h2 id="reusing-and-overriding-messages">Reusing and Overriding Messages</h2>
<p>In addition to prioritization, ngMessages also allows for including messages from a remote or an inlin