This library make it easier as you don't need to maintain any function to handle the event, just simply code expression within the element.
It registers
touchstart
for touch devices.
Demo: [Angular ng-global-click Demo](http://app.bill-min.com/ng-global-click/)
Usage: ``` angular.module('myApp', ['ngGlobalClick']) ```
//Normally you register the trigger in <body> element
<body global-click-trigger>
</body>
Register events that will happen when clicking outside of the element
<your-element on-global-click="expression"></your-element>