In this video I've shown use of canDactivate Route Guard. In this video I used this Guard to check, User save data or not before going to another Route. If user type any value in input field and without Save try to go another Route then I had shown a Confirmation Alert Message. If User Press Ok then user can Access to anther Route and If Press Cancel from Confirmation Alert Message Box then User will Stay Same Route.
THANKS FOR WATCHING
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Follow me on:-
Instagram:- https://www.instagram.com/anirudhabhowmik
Twitter:- https://twitter.com/AnirudhaBhowmi2
#angular #angulartutorial #angularcourse #routeguard