In my Angular 11 app, I am trying to implement a way to warn the user that there is unsaved data on the page.
For simplicity, let\'s consider that we only care when a