The main problem I face, is that when I click any label, it checks all the checkboxes not it's related input.

check it on plunker here

Note: Click the button first. I had posted a similar question before but there was a problem with plunker, check this updated one.

有帮助吗?

解决方案

I have rewritten the icheck directive you were using to correctly interact with the model. Here is a working plunk that I hope you can use: http://plnkr.co/edit/toxxrRTfmltyamtI7ZG6?p=preview

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top