title: Angular scope function executed twice when it should only run once?
body: <p><strong><a href="http://plnkr.co/edit/gSesl1tBlrR4gLMbjYDW?p=preview" rel="nofollow">Demo here</a></strong></p>
  
  <p>Quick question: in the following code I only call the function <code>isSpecificPage()</code> once, why it console.log twice?</p>
  
  <pre><code>&lt;div ng-hide="isSpecificPage()"&gt;
    &lt;p&gt;Hello!&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>