angular-ui/ui-utils — pull request #164 by werehuman (2014-01-27 05:23:07+00:00)
Title: Ability to keep invalid value after blur

When user leaves partly filled field with masked input, ui-mask automatically clears input. So user forced to fill the field twice.

This pull request adds ability to disable erasing value on blur event without breaking backward compatibility.

Behavior can be replaced locally for one input:
```js
app.controller("FooCtrl", function($scope) {
$scope.uiOptions = {
clearOnBlur: false;
};
});
```
```html

```

Or globally for all masked inputs:
```js
app.config(["$provide", function($provide) {
$provide.decorator("uiMaskConfig", ["$delegate", function($delegate) {
$delegate.clearOnBlur = false;
return $delegate;
}]);
}]);
```
```html

```