I am having an issue with my content using the ng-cloak directive, as I would like to retrieve the height of an element using innerHeight() within a directive.
However, when I use innerHeight(), the element is hidden by ng-cloak so the result is always 0.
I have attempted:
link: function postLink(scope, element, attrs) {}
And also tried:
$timeout(function(){}
Both yielding the same result.
Does anyone know of a function or event that could help with this issue?
Thank you.