I have a 3rd-Party Javascript Library which is adding DOM-Elements dynamically on runtime into a div. I'm looking for a way, to detect in AngularJS (Angular 1) when this Element has been created, so I cant perform some specific actions.
<div ng-controller="myCtrl">
<div class="thisElementWasAddedOnRuntime"></div>
</div>
I know that there are some JS-Libraries which can detect the creation of a specific Element. But I dont want to include a whole library only for this case.