JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app='myApp'>
    <table envtable>
        <tr>
            <td>OS</td>
            <td>{{env.osName}}</td>
        </tr>
        <tr>
            <td>OS Version</td>
            <td>{{env.osVersion}}</td>
        </tr>
    </table>
</div>

JavaScript

app = angular.module('myApp', []);

app.directive('envtable', function () {
    return {
        restrict: 'A',
        replace: true,
        transclude: true,
        template: '<table class="table" ng-transclude></table>'
    };
});