Question from the Angular - Fundamentals test

How to show a component only if a condition is true in Angular