Skip to content

Instantly share code, notes, and snippets.

@ryardley
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryardley/c54e78b078cb14f4cc8b to your computer and use it in GitHub Desktop.
Save ryardley/c54e78b078cb14f4cc8b to your computer and use it in GitHub Desktop.
.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