Yangman - rename controllers
[dlux.git] / modules / yangman-resources / src / main / resources / yangman / views / rightpanel / form / config / types / bits.tpl.html
1 <section ng-controller="YMTypeBitCtrl as yangTypeBit"
2          layout="row"
3          flex="50"
4          class="md-whiteframe-z2 box-container"
5          layout-wrap
6          layout-padding>
7
8     <md-checkbox ng-model="type.bitsValues[$index]"
9                  ng-repeat="bit in type.getChildren('bit')"
10                  ng-true-value="1"
11                  ng-false-value="0"
12                  ng-change="yangTypeBit.valueChanged()"
13                  ng-disabled="{{ yangOutput.notEditable }}"
14                  aria-label="{{bit.label}}">
15         {{bit.label}}
16     </md-checkbox>
17 </section>