An angular directive to detect a click outside of an elements scope. Great for closing dialogues, drawers and off screen menu's etc.
To use this directive, ensure the element you want to detect a close outside of has an id (not class) assigned. Id's are needed as multiple elements may have the same class. Add the directive via the
click-outside attribute, and give exceptions via the
See the full instructions in the GitHub readme.