1 <div ng-controller="ChoiceCtrl as yangChoice"
2 class="yangmanModule__right-panel__form__element-container"
3 ng-class="{'expanded' : node.expanded}">
7 layout-align="start center"
8 class="pointer container-label">
11 <md-icon md-font-set="material-icons" class="top-icon top-element" ng-click="yangChoice.toggleExpanded()">
12 <md-tooltip md-direction="left">{{ 'SHOW_HIDE_CON' | translate }}</md-tooltip>
13 {{node.expanded ? 'keyboard_arrow_down':'keyboard_arrow_right'}}
17 <p class="top-element" ym-info-box node="node" ng-click="yangChoice.toggleExpanded()"> {{yangForm.getNodeName(node.localeLabel, node.label)}} </p>
20 <yang-form-menu is-action-menu="yangChoice.isActionMenu()"
21 augmentations="augmentations"
22 node="node"></yang-form-menu>
24 <!-- Choice select -->
26 <md-select ng-model="node.choice" aria-label="Choice select">
27 <md-option ng-repeat="node in node.getChildren(null, null, constants.NODE_UI_DISPLAY) | filter:caseShowing" ng-value="node">
34 <!-- choice's children -->
35 <div ng-repeat="case in node.getChildren(null,null,constants.NODE_UI_DISPLAY) | ymOnlyConfigElem"
36 ng-include="yangForm.viewPath + '/config/' + case.type +'.tpl.html'"
37 ng-show="node.choice.id === case.id && node.expanded"
38 ng-if="!(case.augmentationId && !augmentations.getAugmentation(case.parent, case.augmentationId).expanded)"></div>