title: AngularJs ng-if function call from same controller not working
body: <pre><code>&lt;div ng-repeat=" x in z"&gt; 
      &lt;div ng-if="function(x).y" &gt;  
          display this
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>In the above code, ng-if function(x) is not getting called without refresh. </p>
  
  <p>Please check and suggest if I am missing any thing ? </p>