JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app="myApp" ng-controller="Ctrl">
    <div test>TEST Div
        <div id="findme">{{aaa}}</div>
    </div>
</div>

JavaScript

var myApp = angular.module('myApp', [])
.controller('Ctrl', ['$scope', function($scope) {
  $scope.aaa = 3432
}])
.directive('test', function () {
    return {
        link: function (scope, elm, attr) {
            var look = elm.children('#findme').addClass("addedclass");
            console.log(look);
        }
    };
});