Tutorialsplane

Angular Material Checkbox


Angular Material – Checkbox: <md-checkbox> directive is used to create Checkbox as in AngularJs. Here in this tutorial we are going to explain how you can use Angular Material Checkbox with example. You can also use our online editor to edit and run the code online.


Angular Material Checkbox Example

Let us first create a simple checkbox using Angular Material directive-

Angular Material – Checkbox:

<md-checkbox ng-model="isChecked" aria-label="Finished?">
  Finished ?
</md-checkbox>

<md-checkbox md-no-ink="" ng-model="hasInk" aria-label="No Ink Effects">
  No Ink Effects
</md-checkbox>

<md-checkbox ng-disabled="true" ng-model="isDisabled" aria-label="Disabled">
  Disabled
</md-checkbox>

Try it »

If you run the above example it will produce output something like this –

Options Available

Following options are available in Angular Material Checkbox –

Learn Angular Material