title: Angular : how to express condition in ng-if directive?
body: <p>How to express a condition in ng-if directive ?</p>
  
  <p>Right now I tried this </p>
  
  <pre><code>&lt;div ng-if="{ selectedTab == 'decoupage'}"&gt;
  ...
  Syntax Error: Token '==' is unexpected, expecting [:] at column 15 of the expression [{ selectedTab == 'decoupage'}] starting at [== 'decoupage'}].
  </code></pre>
  
  <p>I'm using Angular 1.2.0.</p>