Hi,
To have the line on the top, please use the following css rule:
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
box-shadow: 0 3px 0 #ffffff inset;
}
or A very elegant way is to use ng-controller to run a single controller outside of the ng-view:
<div class="collapse navbar-collapse" ng-controller="HeaderController">
<ul class="nav navbar-nav">
<li ng-class="{ active: isActive('/')}"><a href="/">Active</a></li>
<li ng-class="{ active: isActive('/')}"><a href="/dogs"></a></li>
<li ng-class="{ active: isActive('/')}"><a href="/cats"></a></li>
</ul>
</div>
<div ng-view></div>
My Website not using nav bar see Exsample here
Grosir Baju
Regards.