src/helpers/Angular.php
public static function radio($ngModel, $label, array $data, array $options = [])
    {
        return self::injector(TypesInterface::TYPE_RADIO, $ngModel, $label, self::optionsArrayInput($data), $options);
    }
public static function radio($ngModel, $label, array $data, array $options = [])
    {
        return self::injector(TypesInterface::TYPE_RADIO, $ngModel, $label, self::optionsArrayInput($data), $options);
    }
public static function radio ( $ ngModel , $ label , array $ data , array $ options = [ ] ) { return self :: injector ( TypesInterface :: TYPE_RADIO , $ ngModel , $ label , self :: optionsArrayInput ( $ data ) , $ options ) ; }
Radio Input.

Generate a list of radios where you can select only one element.

Example:

```php
Angular::radio('exportType', 'Format', ['csv' => 'CSV', 'xlss' => 'XLSX'])
```

@param string $ngModel The name of the ng model which should be used for data binding.
@param string $label The label to display for the form input.
@param array $data An array with data where the array key is what is stored in the model e.g. `[1 => 'Mrs', 2 => 'Mr']`
@param array $options Additonal arguments to create the tag.
@return AngularObject
Radio Input .