UNPKG

ng-checkbox

Version:

The component provides selection data and its statistics based on checkboxes selection.

5 lines (4 loc) 246 B
<label for="{{checkboxCtrl.id}}"> <input type="checkbox" class="ngCheckbox" id="{{checkboxCtrl.id}}" ng-model="checkboxCtrl.ngModel" ng-change="checkboxCtrl.onValueChange(checkboxCtrl.ngModel)" /> <span ng-transclude></span> </label>