I want to use ng-hide in the index page if the url in some nested views. in my index.html, I want something like:
<top-bar ng-if="!home"></top-bar>
<ui-view class="reveal-animation"></ui-view>
<bottom-bar ng-if="!home"></bottom-bar>
I want that when I enter to "home" view the bars will disappeared. as I saw here in same questions - the answer was to use $location in the controller, but where is the controller of the index page?
thanks