<label ng-repeat="(key, val) in datas.options.sex">
<input
type="checkbox"
ng-true-value="key"
ng-false-value="null"
ng-model="filter.sex[key]"
/> {{val}}
</label>
<div ng-repeat="(key, val) in datas.options.sex">
<label>
<input
type="checkbox"
ng-true-value="1"
ng-false-value="null"
ng-model="$parent.filter.sex[key]"
/> {{val}}
</label>
</div>