title: How to restrict routing from change in angular 5 application on condition base?
body: <p>I am working on angular 5 application and facing a situation that I am on a component and I don't want to allow the user to switch the routing until he/she will not answer the question showing on that component. After answering the question user can switch the routing and enjoy the system.</p>