Example | Checkbox | Value | External Control | Code |
---|---|---|---|---|
Minimal example |
|
|
<ez-checkbox ng-model="form.example1" ></ez-checkbox> |
|
Example with inverted truth and custom name attribute |
|
|
<ez-checkbox ng-model="form.example2" invert="true" name="example2" ></ez-checkbox> |
|
Example with custom true value |
|
|
<ez-checkbox ng-model="form.example3" true-value="The Real True" ></ez-checkbox> |