JSFiddle - React, Tailwind, and code Playground
by yonet3d
HTML
<body ng-app="app">
<superwoman>here</superwoman>
</body>
JavaScript
var app = angular.module('app', [])
app.directive('superwoman', [function(){
return {
restrict:"E",
link: function(scope, element, attrs) {
console.log('Scope is ', scope);
console.log('Element is ', element);
console.log('Attrs is ', attrs);
}
}
}])