Toggle between <div>

hi guys, as u can see in the first picture


i have two items (Animal and humain) whene i click on one of them the url will change in the next page based on those two items, its a one page with two urls (addsujet/:type)

and in this page i have two div so i want to toggle between them, so if i clicked on animal it will show the animal

else it will show the huamin div

Look at using Angular’ *ngIf directive to solve this.