AngularJS directive to work with Leap Motion