3 ng-repeat="node in vm.navigation"
4 ms-navigation-node="node"
5 ng-class="{'collapsed': vm.collapsed, 'has-children': vm.hasChildren}"
6 ng-include="'navigation-nested.html'"
10 <!-- Nested navigation template -->
11 <script type="text/ng-template" id="navigation-nested.html">
13 <div id="{{ node.id }}" ms-navigation-item layout="row" ng-if="!vm.isHidden()">
15 <div class="ms-navigation-button" ng-if="!node.uisref && node.title">
16 <i class="icon s16 {{node.icon}}" ng-if="node.icon"></i>
17 <span class="title" translate="{{node.translate}}" flex>{{node.title}}</span>
18 <span class="badge white-fg margin-right-20" ng-style="{'background': node.badge.color}" ng-if="node.badge">{{node.badge.content}}</span>
19 <i class="icon-chevron-right s16 arrow" ng-if="vm.collapsable && vm.hasChildren"></i>
22 <a class="ms-navigation-button" ui-sref="{{node.uisref}}" ui-sref-active="active md-accent-bg" ng-if="node.uisref && node.title">
23 <i class="icon s16 {{node.icon}}" ng-if="node.icon"></i>
24 <span class="title" translate="{{node.translate}}" flex>{{node.title}}</span>
25 <span class="badge white-fg margin-right-20" ng-style="{'background': node.badge.color}" ng-if="node.badge">{{node.badge.content}}</span>
26 <i class="icon-chevron-right s16 arrow" ng-if="vm.collapsable && vm.hasChildren"></i>
31 <ul ng-if="vm.hasChildren && !vm.isHidden()">
32 <li ng-repeat="node in node.children" ms-navigation-node="node"
33 ng-class="{'collapsed': vm.collapsed, 'has-children': vm.hasChildren}"
34 ng-include="'navigation-nested.html'"></li>
37 <!-- / Nested navigation template -->