title: Access scope function on ng-click on navbar
body: <p>This is my markup</p>
  
  <pre><code>&lt;div class="container" ng-app="app"&gt;
      &lt;header ng-include="'templates/nav.html'"&gt;&lt;/header&gt;
      &lt;div ui-view&gt;&lt;/div&gt;
      &lt;footer&gt;&lt;/footer&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here, <code>nav.html</code> isn't a <code>view</code> and doesn't have the reference to any controller. In this case, if I have to execute some function on <code>ng-click</code> of a button in <code>nav.html</code>, where do I write that method? Should it be in <code>rootScope</code>? Not sure, I might be wrong.</p>
  
  <p>Please guide in the right direction.</p>