ngIf is commonly used in template part of the angular component, using ngIf we can satisfy single or multiple conditions. we use && operator to satisfy both the conditions. || operator to satisfy any of the conditions. Here are the examples

Using OR condition

        


Using AND condition

        


Using Boolean value