JSFiddle - React, Tailwind, and code Playground

by sosegon

HTML

<body ng-app = "myApp">
    <div my-dir>
    </div>        
</body>

JavaScript

var myApp = angular.module( "myApp", []);

myApp.directive( "myDir", function(){
    
    return{
        restrict: 'EA',
        controller: function( $http ){
            $scope.url = 
            $scope.getJSON(
        },
        link: function( scope, element, attrs ){
            
        }
    }    
} );