2.1.2 • Published 8 years ago
ngc-focusout v2.1.2
ngc-focusout 
More robust replacement for ngBlur. This directive uses the blur event's capture phase to detect when focus leaves not just the element this is applied on, but children of the element as well.
Usage:
<div ngc-focusout="applyAngularExpression()" tabindex="-1"></div>Note that the element must be focusable in order for any blur events to fire. Make sure to
use this together with the tabindex attribute when necessary.