I have this ng-repeat section where i run a directive 'fittext' on p which make sure the text dosent overflow - if it does, fontsize gets decreased. And it works!
However, in IE it doesn't, i noticed from debugging that the style gets added too late. The directive sees nothing is overflowing AND THEN the div size changes which makes it overflow.
<div ng-repeat="data in labelData" ng-style="{'height': chart.labelSize}">
<div class="labelWrap" style="height: 100%;">
<p fit-text>
{{data.label}}
</p>
</div>
</div>
How can i make sure the ng-style is added before my directive checks for overflow ?