# Reset

### What?

Adds an icon or link that empties the input element

Resets to empty:

Resets to "Empty":

Remember that you control the CSS. Make the icon always show by changing the CSS to match the `:hover` state.

### How?

You can set an app-wide reset value using `ui.config`

    <input ng-model="resetModel" ui-reset>
    <input ng-model="resetModel" ui-reset=" 'Empty' ">

    <script>
        $scope.resetModel = 'Hover over me';
    </script>