Is there a way to hide certain elements in the index page based on the URL of nested views? In my index.html file, I am looking to implement something like this:
<top-bar ng-if="!home"></top-bar>
<ui-view class="reveal-animation"></ui-view>
<bottom-bar ng-if="!home"></bottom-bar>
I would like for the top and bottom bars to disappear when navigating to the "home" view. I have seen similar questions suggesting the use of $location in the controller, but where exactly is the controller for the index page located?
Thank you.