Is there a way to dynamically calculate the height of each page from top to bottom in Angular? The syntax that works in JavaScript seems to give an error in Angular.
console.log( (document.height !== undefined) ? document.height : document.body.offsetHeight+'px');
I need to be able to accurately determine the height of the page, even when items are added dynamically. How can this be achieved?