My Approach To Building AngularJS Directives That Bind To JavaScript Events