Skip to main content

Posts

Showing posts with the label 7 ng-if multiple conditions

Angular ng-if multiple conditions

Angular ng-if multiple conditions Example 1 < table class ="table table-bordered table-striped table-hover">     AND Operator     < tr ng-repeat =" LList in MatchedList " ng-if =" MatchStatus == 'Accepted' && LList.CampaignStatus == 'Accepted' ">         < td > {{ LList.CampaignStatus }} </ td >     </ tr >     OR Operator     < tr ng-repeat =" LList in MatchedList " ng-if =" MatchStatus == 'Quote' || LList.CampaignStatus == 'Quote' ">         < td > {{ LList.CampaignStatus }} </ td >     </ tr > </ table > Example 2 < div ng-repeat =" itm in items ">     OR Operator     < div ng-if =" itm == 'anil' || itm == 'a' ">       ...