The ng-value directive in AngularJS is used to set the value attribute of an input or select element. It's most commonly used on radio and choice components to set the bound values when they're selected. The input> and select> components support it.