title: How to test for the existence of a function in ngIf
body: <p>I'm trying to hide/show some HTML based on the existence of a function</p>
  
  <pre><code>&lt;div ng-if="!!someFunc"&gt; .... &lt;/div&gt;
  &lt;div ng-if="someFunc !== undefined"&gt; .... &lt;/div&gt;
  </code></pre>
  
  <p><a href="http://jsfiddle.net/HB7LU/15065/" rel="nofollow">DEMO</a></p>
  
  <p>Now the issue is that it doesn't matter if <code>someFunc</code> exists or not, it is always shown. Is there some way to make this work or should I create an other (boolean) variable on the scope ?</p>
  
  <p>UPDATE: I've reproduced the issue <a href="http://jsfiddle.net/Lzgts/458/" rel="nofollow">here</a> this time with angular v1.3.14</p>