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
  3. Great Article. Thank you for sharing! Really an awesome post for every one.

    IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Project Domains for IT It gives you tips and rules that is progressively critical to consider while choosing any final year project point.

    Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining the authors explore the idea of using Java in Big Data platforms.
    Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai

    ReplyDelete

Post a Comment