title: angularjs ng-view with outer Controller
body: <p>The linked fiddle contains a simple app, in which i want my variable isLoggedIn to remain updated.
  The problem is that the function is called 3 times in a single run. </p>
  
  <p><a href="https://jsfiddle.net/michael_loukeris/xprmoq65/" rel="nofollow">https://jsfiddle.net/michael_loukeris/xprmoq65/</a></p>
  
  <pre><code>   $scope.isLoggedIn = function(){
      console.log('errr');
    //calling a service
  
  return false;
  };
  </code></pre>
  
  <p>What is the best way to achieve 2way data binding in my case so that my navbar remains updated based on user authentication.</p>