title: how to check for null with a ng-if values in a view with angularjs?
body: <p>i have this situation</p>
  
  <pre><code>&lt;div ng-repeat="test in current"&gt;
      &lt;div ng-if="test.view == null"&gt;
          &lt;i class="icon ion-checkmark"&gt;&lt;/i&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>but <code>test.view== null</code> doesn't work, neither just checking for <code>test.view</code> or <code>test.view == ''</code></p>
  
  <p>any ideas?</p>
  
  <p>thanks</p>
  
  <p>edit:</p>
  
  <p>in the loop, sometimes <code>test.view</code>, has a value sometimes is NULL if i do:</p>
  
  <pre><code>&lt;div ng-if="!test.view"&gt;1&lt;/div&gt;
  &lt;div ng-if="test.view"&gt;2&lt;/div&gt;
  </code></pre>
  
  <p>i will only see <code>1</code></p>