#angular routers

Prevent user from losing unsaved data

Reading Time: 3 minutes There are many instances where a user fills some details in the form, edit their details, or secure the form in such a way that if someone navigates away or closes the browser tab, they should be prompted to confirm that they really want to leave the form with unsaved data. Whenever these kind instances occur you will see an alert appear on the top of Continue Reading

Angular Router: Parameter with the snapshot

Reading Time: 3 minutes The Angular Router is a powerful router library that allows developers to implement advanced functionality in their Angular applications. Earlier what we were doing if we want to send the value of the parameter from one component to the other we were makes use of the @Input decorator to get hold of that value that was being passed in from one component to the other. But, Continue Reading