Simple angular directive to handle events when the user clicks outside the specific dom element.
npm install --save angular-outsideclick bower install --save angular-outsideclick
<element oursideclick="vm.onOutsideClick()">
...
</element>
git clone ...
bower install
npm install
gulp serve