JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app="app">
    <div info="this is some info"></div>
    <div>{{info}}</div>
</div>

JavaScript

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

app.directive('info', function() {
    return {
        restrict : 'A',
        link: function(scope, element, attrs, ngModel) {
            scope.info = attrs.info;
        }
    };
});