ngif

Step 1: The "if" condition is evaluated. Step 2: If the condition is true, the code inside the "if" block is executed. Step 3: If the condition is false, the code inside the "else" block is executed, if present. Step 4: The program continues with the code after the "if" statement.