title: Form validation without submit button in AngularJS
body: <p>I a have a simple form, which I need to validate. How can I validate it without button(submit)?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form name="myForm" novalidate&gt;
      &lt;fieldset&gt;
          &lt;legend&gt;Info&lt;/legend&gt;
          &lt;div&gt;
              &lt;label for="name"&gt;Name:&lt;/label&gt;
              &lt;input type="text" name="name" id="name" ng-model="myName" required/&gt;
          &lt;/div&gt;
         &lt;div&gt;
             &lt;label for="pass"&gt;Password:&lt;/label&gt;
             &lt;input type="password" name="pass" id="pass" ng-model="myPass" required/&gt;
         &lt;/div&gt;
         &lt;div&gt;
             &lt;label for="email"&gt;Email:&lt;/label&gt;
             &lt;input type="email" name="email" id="email" ng-model="myMail" required/&gt;
         &lt;/div&gt;
          &lt;div&gt;
              &lt;label for="birth"&gt;Date of birth:&lt;/label&gt;
              &lt;input type="date" id="birth" name="birth" ng-model="date"/&gt;
          &lt;/div&gt;
  
      &lt;/fieldset&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>