title: HTML5 required attribute not working in Angular 2 project, installed using CLI
body: <p>I am working on Angular 2 login page, when I try to validate input field with HTML 5 validate attribute required, it is not working, where as in the quick start project it works fine. Could any one explain why it is not working and how to resolve this issue ?</p>
  
  <p><a href="https://embed.plnkr.co/4Gy5z7Hz3x5h4XPU1zCl/" rel="noreferrer">Plunker link of my code</a> In Plunker, it validates but in my project its not working. </p>
  
  <p>app.component.html code below,</p>
  
  <pre><code>&lt;form class="login-form"&gt;
    &lt;input type="text" name="usrname" placeholder="Username"  required/&gt;
  
    &lt;input type="password" name="pwd" placeholder="Password"  required&gt;
    &lt;input type="submit"&gt;
  
  &lt;/form&gt;
  </code></pre>