Block routing if form is dirty [ Angular 2 ]
<p>I am blocked with this,<br>
In Angular 2, I need to block any user click event, even browser refresh if the form in the page is <strong>dirty</strong></p>

<p>Could you help me with ideas?</p>