title: ANGULAR - How to detect if HTML template changed?
body: <p>I am creating a custom modal window with dynamically calculated height depended on real inserted content.</p>
  
  <p>It's easy to do it but pit hole is if in content is something hidden at the beginning. ( Typically if programmer insert element with *ngIf directive and they are simply NOT part of a calculation.</p>
  
  <p>How can i detect if there are any changes in the DOM ? Thank you</p>