AngularJS directive which takes JSON representing a form and renders to HTML
<div ng-repeat="(key, option) in to.options" class="checkbox">
<label>
<input type="checkbox"
id="{{id + '_'+ $index}}"
ng-model="multiCheckbox.checked[$index]"
ng-change="multiCheckbox.change()">
{{option[to.labelProp || 'name']}}
</label>
</div>{{options}}dfg{{multiCheckbox.checked[$index]}}
,{parent:{children:[]}}
. However, currently it doesn't do that. Instead it considers "parent.children" as a string hence in the model it will be {paraent.children:[]}
formlyConfig.setType({
name: 'phone',
extends: 'maskedInput',
defaultOptions: {
templateOptions: {
mask: '999-999?9-9999'
},