Angularjs 带有限制的角度复选框,可以选择取消选择任何内容

Angularjs 带有限制的角度复选框,可以选择取消选择任何内容,angularjs,Angularjs,我需要根据用户输入创建多级角度复选框 Maximum Parent Checkbox 3 One can select and unselect. On unchecking the checkbox should be removed from the view. If there is only one left it can't be removed though unchecked and making all list checkbox disabled. Each parent Ch

我需要根据用户输入创建多级角度复选框

Maximum Parent Checkbox 3
One can select and unselect.
On unchecking the checkbox should be removed from the view.
If there is only one left it can't be removed though unchecked and making all list checkbox disabled.
Each parent Checkbox carries list of checkbox inside if that list is selected then only add option is available to add new checkbox.
如果从复选框1列表中选择了任何选项,则添加新复选框 选项应该出现,其他和取消选择时也会出现相同的选项 应删除块,并且只能创建最多3个复选框

CheckBox -1 
List A
LISt B
List C
List D

CheckBox -2
List A
LISt B
List C
List D

CheckBox -3
List A
LISt B
List C
List D