Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 1 | <div class="nav"> |
2 | <ul> | ||||
Matteo Scandolo | f2c3ed6 | 2016-12-15 14:32:50 -0800 | [diff] [blame^] | 3 | <li ng-repeat="route in vm.routes" ui-sref-active="active" ng-class="vm.isRouteActive(route)"> |
4 | <a ng-if="route.state" ui-sref="{{route.state}}">{{route.label}}</a> | ||||
5 | <a ng-if="route.url" href="#/{{route.url}}">{{route.label}}</a> | ||||
Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 6 | </li> |
7 | </ul> | ||||
8 | </div> |