I just noticed that routerLink works on any element e.g on divs, mat-card, mat-title, etc, without needing to wrap an anchor tag around.
Is that okay / safe to do so or you need to use it with the anchor ? Maybe it can have some bad consequences later if doing so ?
<img mat-card-image class="example-image" src="/assets/images/baby.jpg" alt="Photo of a Shiba Inu" routerLink="/family-detail/{{baby.firstname}}" routerLinkActive="active">
it just works without using onClick or an anchor tag. – Chary