I have some checkboxes in HTML:
<input type="checkbox" name="type[]" value="3"> <input type="checkbox" name="type[]" value="4"> <input type="checkbox" name="type[]" value="5">
How I can get all selected values in Angular JS?
I tried to add for earch input: ng-model="type[]"