Angular ng-if="" with multiple arguments

David Karlsson picture David Karlsson · Sep 24, 2013 · Viewed 187k times · Source

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 )

Answer

javaCity picture javaCity · Sep 24, 2013

It is possible.

<span ng-if="checked && checked2">
  I'm removed when the checkbox is unchecked.
</span>

http://plnkr.co/edit/UKNoaaJX5KG3J7AswhLV?p=preview