title: Does ngIf accept boolean parameter?
body: <p>I have the following</p>
  
  <pre><code>&lt;div ng-if="false"&gt; nothing here &lt;/div&gt;
  </code></pre>
  
  <p>Shouldn't the div's content be hidden?</p>
  
  <p>I want to make this slightly more complex like :</p>
  
  <pre><code>&lt;div ng-if="user.id == 1"&gt;
    The name is: {{user.name}}
  &lt;/div&gt;
  </code></pre>
  
  <p>but none of the above work.</p>
  
  <p>The aim is if the ng-if expression is true to run the code inside the div. Is the ngIf the correct expression or is there a better boolean/expression handler?</p>