Skip to content

Instantly share code, notes, and snippets.

Avatar

Patrick Venture pstrinkle

View GitHub Profile
@jpoehnelt
jpoehnelt / Angular Blur Directive
Created Nov 25, 2014
For blurring angular ng-click elements on click.
View Angular Blur Directive
app.directive('blur', [function () {
return {
restrict: 'A',
link: function (scope, element) {
element.on('click', function () {
element.blur();
});
}
};
}]);