ge-exp for a message whose key is given by an expression --&gt;
      &lt;div ng-message-exp=&quot;errorMessage.type&quot;&gt;{{ errorMessage.text }}&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/form&gt;
</code></pre>
<p>The <code>errorMessage.type</code> expression can be a string value or it can be an array so
that multiple errors can be associated with a single error message:</p>
<pre><code class="lang-html">&lt;label&gt;
  Email address
  &lt;input type=&quot;email&quot;
         ng-model=&quot;data