The AngularJS input types are HTML input element control and used togather with ng-model directive. AngularJS input type Radio can be decorate with various AngularJS arguments like name,ng-value and ng-change.
Syntax
Here is a list of AngularJS Input Type Radio Arguments.
Directives | Description |
---|---|
ng-model | AngularJS expression to bind the radio. |
name (optional) | Name of the control input control. |
ng-value (optional) | AngularJS expression to bind value. |
ng-change (optional) | AngularJS expression to be executed when input value changes. |
Above example will produce following output