I have a 'form' that the user selects an option and the app takes them to the next page where they need to select again an option. Each list of options is a different component. I also have a header component which is static and is displayed on all pages. I would like to hide the Previous
button on the first page, how can I do that?
I can use ngIf
directive for conditional rendering but how can I know on which page I am now? And how do I translate that into Angular + Typescript code?
Thank you