<form (submit)="addTodo()"> <input type="text" placeholder="Admin" [(ngModel)]="text" name="text"> </form>