Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <p>
- login works!
- </p>
- <div>
- <!-- <input name="username" type="text" value="{{username}}">
- <br>
- <input name="password" type="password" value="{{password}}">
- <br> -->
- <input name="username" type="text" [(ngModel)]="username">
- <br>
- <input name="password" type="password" [(ngModel)]="password">
- <br>
- <button (click)=handleLogin()>Login</button>
- </div>
- <div *ngIf="invalidLogin">Error : Bad Login</div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement