Within my app, there is a 'form' that requires users to select an option before moving on to the next page where they must make another selection. Each list of options corresponds to a different component. Additionally, there is a static header component displayed across all pages. However, I am seeking a way to hide the 'Previous' button specifically on the initial page. How can this be accomplished?
I understand that the ngIf
directive can be used for conditional rendering, but how do I determine the current page and translate this into Angular + Typescript code? Any insights would be greatly appreciated.
Many thanks