Currently in our project, we are using Angular's Router to define our routes. We have a wizard-esque single page app that has next and previous buttons on each page that define which route to go to next and previous respectively. These next and previous buttons are implemented with conditional logic on each page based on user input from previous pages (e.g. if user selected "Option1 and Selection1" from a previous page, go to Page X, else go to Page Y). This works most of the time; however, as we add more pages that require more conditional logic, this could potentially get out of hand.
Is there a way to simplify this process? I've researched Angular Router guards, and while they provide a way to redirect a user to a certain page if the application doesn't have the necessary data at the time a route is called, I don't think they are what we are looking for.