Skip to main content

ngIf with OR condition

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

        


Comments

  1. Much thanks for this valuable article. This is a very nice blog that I will definitively come back to more times this year! Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks.
    game online Battle for the Galaxy Play Break The Cup Toon Cup 2017 best online game

    ReplyDelete
  2. Numbed to the centre of our consciousness, we saw children choked stiff to death, like twisted wax dolls, foaming in their mouths. A young father, holding his dead twins in both his arms, delicately, as if they were fragile toys, was seen posing in front of a cell phone camera, with the cold composure of the temporarily insane, giving his cousin purposeful instructions, '' film it, film it! We need to show it to the world''.
    kizi free Games
    friv jogos gratis
    free online friv Games

    ReplyDelete

Post a Comment