title: one-time binding with ng-if in angular?
body: <p>If I have a view that does:</p>
  
  <pre><code>&lt;div ng-repeat="foo in foos"&gt;
    &lt;p ng-if="bar"&gt;omg lol&lt;/p&gt;
    &lt;p ng-if="!bar"&gt;lol omg&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am actually creating (2 * foos.length) + 1 $$watchers, which is really not good.  I have found several sources online that say you can do ng-if="::bar", but the number of watchers does not change when I do that.  Is there a way to force ng-if to be a one time binding?</p>
  
  <p>It is really, really dumb to have to do:</p>
  
  <pre><code>&lt;div ng-repeat="foo in foos" ng-if="bar"&gt;
    &lt;p&gt;omg lol&lt;/p&gt;
  &lt;/div&gt;
  &lt;div ng-repeat="foo in foos" ng-if="!bar"&gt;
    &lt;p&gt;lol omg&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Which I believe will give me something like 4 $$watchers instead...  So I am looking for an alternative to avoid having to be silly like that.</p>