background api is deleted through id, but it is stuck here. I don"t know how to judge whether it is selected or not. 
 
 
 background api is deleted through id, but it is stuck here. I don"t know how to judge whether it is selected or not. 
 
 
 check a field of control binding data such as  selected , and control binding such as  [(ngModel)] = "xxx.selected"  
filter the selected id array before deleting
xxxList.filter((item) => item.selected == true).map((item) => item.id)