I have a wizard component with multiple step components, these steps are routed to by the wizard component and the wizard itself is routed to from the root component. As the last step of the wizard, i need to show all the navigated steps at once for reviewing purposes with all the data that’s entered while navigating them. How could i achieve this?
what I’ve tried:
@Injectable()to each step component and used Angular2 injection provider, but no matter what I’ve tried, it always instantiates a new instance and all the data entries are gone.
Passing hard-coded references around. Not only terrible and bad practice, thankfully it didn’t work since you can’t access prototype properties outside the component domain.
All fresh out of options. Anything is welcomed!