Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
angular.module('MyModule')
.directive('myOverlayButton', function () {
return {
restrict: 'A',
template: '<div ng-click="handleButtonClicked()" />',
};
})
.directive('myOverlayBackground', function () {
return {
restrict: 'A',
template: '<div ng-show="isOverlayShowing" />',
};
})
.directive('myOverlayContent', function () {
return {
restrict: 'A',
template: '<div ng-show="isOverlayShowing" />',
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment