title: Browser does not ask to save password Angular application
body: <p>I am working on an Angular application that starts with a login portal. I am using the following template for my login screen:</p>
  
  <p><strong>login.html</strong></p>
  
  <pre><code>    &lt;form method="post" name="form" (ngSubmit)="f.form.valid &amp;&amp; login()" #f="ngForm" novalidate&gt;
        &lt;fieldset&gt;
          &lt;p&gt;
            &lt;label&gt;Username&lt;/label&gt;
            &lt;input type="text" placeholder="e.g. JohnDoe" [(ngModel)]="model.username" #username="ngModel"
                   name="username" required/&gt;
          &lt;/p&gt;
  
          &lt;p [ngClass]="{ 'has-error': f.submitted &amp;&amp; !password.valid }"&gt;
            &lt;label&gt;Password&lt;/label&gt;
            &lt;input type="password" placeholder="Password" name="password" [(ngModel)]="model.password"
                   #password="ngModel" required/&gt;
          &lt;/p&gt;
          &lt;p&gt;
          &lt;input type="submit" [disabled]="loading" class="btn" value="Login"&gt;
          &lt;/p&gt;
        &lt;/fieldset&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>Unfortunately, whenever a user is logged in, the password manager of Chrome does not ask to store the credentials. Password managers like Lastpass however do offer to store it. What could I improve to fix this?</p>