JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="myApp">
<p yep> </p>
</div>
JavaScript
var app = angular.module('myApp', []);
app.directive('yep', function () {
return {
restrict: 'A',
link: function(s,e,a) {
},
template: '<p>Text TExt</p>'
};
});