JSFiddle - React, Tailwind, and code Playground
by Trufa
HTML
<div ng-app="myApp">
<div ng-controller="ExampleController">
{{example}}
</div>
<div example-directive></div>
</div>
JavaScript
var myApp = angular.module('myApp', []);
myApp.controller('ExampleController', function($scope) {
$scope.example = "hi";
});
myApp.directive('exampleDirective', function() {
return {
template: '<div>This is an exmaple directive</div>'
};
});