Hi folks,
Current ng-checked is an one-way binding, and ng-model is a two-way binding, so we can assign ng-checked another model to effect the input, but input not effect another model.
This design can implement master-slave relationship to form group check, but ng-checked only effects input, it does't syncs ng-model, it's weird.
Since ng-model is two-way binding, input should honor this contract, so after ng-checked checks on input, it should checks ng-model too.
It may look like:
"master's model" (by ng-checked) --> input <--> "slave's model(ng-model)"
Current version will break when ng-checked checks input, ng-model will not be sync.
Do I make any mistake or other better solutions on this issue?