I'm having some static checkboxes and one checkbox use for "Check All" in HTML file. Then i want to check or un-check all of these checkbox when i click on the "Check All" checkbox. But i still not know where is approach of this stuff.
HTML code:
<div>
<input type="checkbox" name="check_all" ng-model="formFruit.fruits.all" ng-true-value=":all:"/> Select All </br>
<input type="checkbox" name="" ng-model="formFruit.fruits.apple" ng-true-value=":apple:"/> Apple </br>
<input type="checkbox" name="" ng-model="formFruit.fruits.banana" ng-true-value=":banana:"/> Banana </br>
</div>