title: How do I use angular ng-hide based on the page/route that I am currently on?
body: <p>have an angular application that I want to hide one of the 'included views' if the main view is the homepage view.  </p>
  
  <pre><code>&lt;div id="page" ng-class="{ showNav: $root.showNav }"&gt;
      &lt;header id="pageHeader" ng-controller="HeaderCtrl" data-ng-include="'views/includes/header.html'"&gt;&lt;/header&gt;
      &lt;div id="pageHero" ng-show='$rootScope.fullView' ng-controller="MainsearchCtrl" data-ng-include="'views/mainSearch.html'"&gt;&lt;/div&gt;
      &lt;div id="pageContent" ng-view=""&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>