Angular2 Directive: How to detect DOM changes
<p>I want to implement Skrollr as an Angular2 attribute directive.</p>

<p>So, the format may be:</p>

<pre><code>&lt;body my-skrollr&gt;
&lt;/body&gt;
</code></pre>

<p>However, in order to implement this, I need to be able to detect changes in the DOM in child elements below the containing tag (in this case, &lt;body&gt;), so that I can call skrollr.init().refresh(); and update the library to work with the new content.</p>

<p>Is there a straightforward way of doing this that I'm not aware of, or am I approaching this incorrectly?</p>