Inside one of my views I'm using myDirective
like this:
<div my-directive></div>
It (myDirective
) has a template:
<div>
<div my-inner-directive></div>
</div>
My question is: how do I know from within myDirective
that all sub-directives were rendered? In essence, when can I use element.find()
and actually get results? DO NOT offer me window.setTimeout
and $timeout
because those are bogus solutions that will never work properly.