function StopPropagationDirective() {
        return function stopPropagationCode(scope, el, attrs) {
            el.on(attrs.lxStopPropagation, function stopPropagation(evt) {
                evt.stopPropagation();
            });
        };
    }
Blocks the propagation of an event in the DOM.

@param  {string}    stopPropagation The name of the event (or events) to be stopped.
@return {Directive} The stop propagation directive.