My current problem is getting a specific set of code to run after Angular is finished binding a string of HTML with ng-bind-html. My reasons for doing this are a lot more complicated than the JSFiddle provided below (it involves calculations of SVGs) but the base principle and example of the issue can be seen there.
Does anyone know if there's another angular function I can insert code into that is guaranteed to run once ng-bind-html is finished doing what it needs to do?
I'm completely new to AngularJS so apologies if ng-bind-html is the wrong way to go about doing this when attempting to execute code once its finished. Thanks in advance.
<div class="lot" ng-bind-html="renderHtml('<span>hello</span')">