I am currently working with an API to populate a table within the router outlet, but I would like to know how I can load a different component that displays the details of a selected row. For example, if the table contains a list of equipment, I want to be able to click on a specific item and have a form displayed where I can log details about any faults in that particular piece of equipment. These details will then be posted to a fault function in the API.
Can anyone advise on how this could be implemented?
I am still relatively new to Angular and appreciate any guidance or insights shared.
Thank you!