-
-
Save ryardley/80212f6b87a67e679657 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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