YouTip LogoYouTip

Ng Ng Checked

# AngularJS `ng-checked` Directive [![Image 3: AngularJS Reference Manual](#) AngularJS Reference Manual](#) * * * ## AngularJS Examples Select one or select all options:

My:

Check all

Volvo
Ford
Mercedes [Try it yourself Β»](#) * * * ## Definition and Usage The **ng-checked** directive is used to set the checked attribute of checkboxes or radio buttons. If the **ng-checked** attribute returns true, the checkbox or radio button will be checked. * * * ## Syntax The element with type
← Ng Ng ClickNg Ng Blur β†’