<gf-form-switchng-repeat="stat in extendedStats"class="gf-form offset-width-7"label="{{stat.text}}"label-class="width-10"checked="agg.meta[stat.value]"on-change="ctrl.render()"></gf-form-switch>
<gf-form-switchng-repeat="stat in extendedStats"class="gf-form offset-width-7"label="{{stat.text}}"label-class="width-10"checked="agg.meta[stat.value]"on-change="onChangeInternal()"></gf-form-switch>