I've got :
Selecccionar todos :
<div ng-repeat="column in columns">
<input type="checkbox" id="selectAll" name="selectAll"/>
<input type="checkbox" name="dinamico" > 1<br/>
<input type="checkbox" name="dinamico" > 2<br/>
<input type="checkbox" name="dinamico" > 3<br/>
</div>
How can I select all checkboxes if selectAll is selected?
If you give the
checkbox
ones you create dynamically the same name:you can make use of this function:
You could try something like this:
It also helps you uncheck them all at once