Skip to content

Instantly share code, notes, and snippets.


ryardley/messy.haml Secret

Last active Aug 29, 2015
What would you like to do?
.MyOverlay( ng-controller="" )
/ This is the button that
/ launches the overlay
%a.MyOverlay-button( ng-click="overlayButtonClicked()" )
/ This background div is opaque
/ while the overlay is active
.MyOverlay-background( ng-show="isOverlayShowing" )
/ This is the content that sits
/ on top of the background
.MyOverlay-content( ng-show="isOverlayShowing" )
- @content.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.