JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js"></script>
<div data-ng-app="app">
    <panel1>
        <panel>
            <input type="text" ng-model="firstName" />{{firstName}}</panel>
    </panel1>
</div>

JavaScript

var app = angular.module('app', []);
   app.directive('panel', function ($compile) {
       return {
           restrict: "E",
           replace: true,
           transclude: true,
           template: "<div ng-transclude >fsafsafasdf</div>"                   
       }
   });
   app.directive('panel1', function ($compile) {
       return {
           restrict: "E",
           transclude: true,
           replace: true,
           template: "<div id='wrappingDiv'></div>",
           link: function (scope, element, attr, ctrl, linker) {
               linker(function (clone) {
                   element.append(clone);
               });
           }
       }
   });