Create a gist now

Instantly share code, notes, and snippets.

@ryardley /messy.haml Secret
Last active Aug 29, 2015

What would you like to do?
.MyOverlay( ng-controller="com.company.OverlayController" )
/ This is the button that
/ launches the overlay
%a.MyOverlay-button( ng-click="overlayButtonClicked()" )
.MyOverlay-buttonIcon
/ 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" )
.MyMenu-contentScroller
- @content.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment