I'm looking for a simple example that will help me understand how I can change the message displayed in my component. I want to trigger a confirmation box with *ngIf and once I confirm the change, I want the original message to be replaced with a new one.
Right now, messages are hard coded for convenience.
Is there a way to achieve this while keeping the message service/confirmation components generic and reusable?
Check out my stackblitz