title: html5 validation in Ionic
body: <p>I am learning Ionic at the time. But it seems like HTML5 validation is not working in Ionic.</p>
  
  <p>So, i have a login form like below.</p>
  
  <pre><code>&lt;h3&gt; Login &lt;/h3&gt;
  &lt;form&gt;
          &lt;input name="emailaddress" placeholder="Enter Email Address" class="email" [(ngModel)]="userData.l_email" type="email" required /&gt;
              &lt;input name="name" placeholder="Enter Password" class="name" type="password" [(ngModel)]="userData.l_password" required /&gt;
  
      &lt;button class="semi-transparent-button is-blue with-border" (click)="login()"&gt;
    Login
  &lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When i click on login button it didn't perform validation. As i have put required in both field but it simply submit the form.</p>
  
  <p>Also email validation is not working.</p>
  
  <p>I have checked <a href="https://stackoverflow.com/questions/42835533/how-can-i-make-validation-of-email-in-ionic-using-html5-js-or-angular-work">How can I make validation of email in Ionic using HTML5, JS or Angular work?</a> but it is a work around. That i want to avoid.</p>