JSFiddle - React, Tailwind, and code Playground

HTML

<html>
<head>
<link href="http://www.cloud-eight.com/github/litebox/assets/css/litebox.css" type="text/css" rel="stylesheet">
</head>
<body>
<div ng-app="myApp">
    <div ng-controller="mainCtrl">
        <test></test>
		<div vfilter>This works</div>
    </div>
</div>
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://www.cloud-eight.com/github/litebox/assets/js/litebox.min.js"></script>
<script src="http://www.cloud-eight.com/github/litebox/assets/js/images-loaded.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.js"></script>
<script>
var myApp = angular.module('myApp', []);
myApp.directive('test', function () {
    return {
        template: '<div href="#searchPopup" target="_self" class="popup">Click Me...<div style="display: none;"><div id="searchPopup">Hello World...<div vfilter>This doesn\'t</div></div></div></div>',
        replace: true,
        scope: false,
        link: function (scope, element, attrs) {
            element.liteBox({
                revealSpeed: 400,
                overlayClose: true,
                escKey: true,
                navKey: true,
                callbackInit: function () { },
                callbackBeforeOpen: function () { },
                callbackAfterOpen: function () { },
                callbackBeforeClose: function () { },
                callbackAfterClose: function () { },
                callbackError: function () { },
                callbackPrev: function () { },
                callbackNext: function () { },
                errorMessage: 'Error loading content.'
            });
        }
    };
});
myApp.directive('vfilter', [ function () {
    return {
        restrict: 'A',
        scope: false,
        link: function (scope, element, attrs) {
            console.log('linked');
            
            element.bind('click', function () {
				console.log('clicked');
			});
        }
    }
}]);
myApp.controller('mainCtrl',...