I have Tried calling it,but i don't know to pass the actual data is not getting it is reflecting me undefined.what should i do for passing the data from one component to another page modal component.
I have a crud application where i click on the delete button and it should reflect me a modal, in which i want to ensure delete or not ,while clicking on delete it should delete the data specific.
stackblitz.com/edit/angular-orasdfsdfbr4d
while clicking on delete button after confirmation it should delete.and getting error of the undefined id.