title: Angular Validation ng messages
body: <p>I'm working on AngualarJS validations, but what I'm trying to achieve doesn't work with ng-messages. </p>
  
  <p>For example I want the messages to appear after the input fields had been $touched or invalid, this way when the user first uses the input fields he doesn't receive an error message, only when he goes to other input. Here is my code:</p>
  
  <pre><code>&lt;div ng-messages="form.company_name.$invalid &amp;&amp; form.company_name.$touched"&gt;
      &lt;p ng-message="minlength"&gt;Your name is too short.&lt;/p&gt;
      &lt;p ng-message="maxlength"&gt;Your name is too long.&lt;/p&gt;
      &lt;p ng-message="required"&gt;Your name is required.&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>