ng-if cost 500 watchers - performance
<p>I have an ng repeat repeating data. - Some of data.image (src) is null, and those with src=null are not to be repeated.</p>

<p>I solved it with a simple ng-if.</p>

<pre><code>&lt;div ng-repeat="data in data"&gt;

      &lt;div class="ImageContainer"&gt;
        &lt;img ng-src="{{::data.image}}" ng-if="data.image != null" /&gt;
      &lt;/div&gt;
      &lt;div class="LabelContainer"&gt;
        &lt;p&gt;
          {{::data.label}}
        &lt;/p&gt;
      &lt;div&gt;
&lt;div&gt;
</code></pre>

<p>but from debugging I noticed this cost me around 500 watchers. Any obvious way to accomplish what im trying without the ng-if or a major JS vanilla function ?</p>