Skip to content

Instantly share code, notes, and snippets.

@ansmith
Created February 12, 2014 17:24
Show Gist options
  • Save ansmith/8960257 to your computer and use it in GitHub Desktop.
Save ansmith/8960257 to your computer and use it in GitHub Desktop.
myApp.directive('widgetErrorMask', function() {
return {
restrict: 'E',
replace: 'true',
transclude: true,
template: '<div class="error-mask" ng-show="errorMaskVisible"><div>{{errorMessage}}</div></div>'
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment