<p> Yo
</p>

<div *ngFor ="let task of taskList;let i=index;" style="padding:10px;width:100%;">
   
   <input type="checkbox" name="task" value= "xyz" [checked]="task.status!=='N'">{{task.name}}
   <br>
   <button (click)="clearTask(task)" style="display:inline-block;">Delete</button>
   </div>

<div>
    <input type= "text" name ="enterTask" [(ngModel)]="taskName">
    <button (click)="addTask()" class="btn-primary">Add</button>
    </div>

