YouTip LogoYouTip

Ng Ng Blur

# AngularJS `ng-blur` Directive [![Image 3: AngularJS Reference](#) AngularJS Reference](#) * * * ## AngularJS Example Execute an expression when the input field loses focus (onblur):

{{count}}

[Try it Β»](#) * * * ## Definition and Usage The **ng-blur** directive tells AngularJS what expression to evaluate when an HTML element loses focus. The **ng-blur** directive in AngularJS does not override the native onblur event. If the event is triggered, both the **ng-blur** expression and the native onblur event will execute. * * * ## Syntax Supported by , , ,