I have a default page route location that I want to change if I have some data saved in local storage. For Example : {path: \'\', redirectTo: "/home", pathMatch: "