I have a 2 components "Home" and "Permissions". In my Home.html page I created a bootstrap modal with "OK" and "CANCEL" buttons. "OK" need to call the function "deleteRecord()" that belongs to the "Permissions" component.
In this, "Home" is a parent route and "Permissions" is a child route
{
path: 'fis', component: HomeComponent,
children: [
{ path: 'Permissions', component: Permissions},
]
}
Could any one suggest me how to do it.