Angular ng-if=“” with multiple arguments
问题 I am trying to get started on angular development. And after reviewing the documentation some questions persist. How do i best write a ng-if with multiple arguments corresponding to if( a && b) or if( a || b ) 回答1: It is possible. <span ng-if="checked && checked2"> I'm removed when the checkbox is unchecked. </span> http://plnkr.co/edit/UKNoaaJX5KG3J7AswhLV?p=preview 回答2: For people looking to do if statements with multiple 'or' values. <div ng-if="::(a || b || c || d || e || f)"><div> 回答3: