How to apply css class to a component element when it's created by router-outlet? : <p>I have DOM that looks something like this:</p>

<pre><code>&lt;app&gt;
    &lt;router-outlet&gt;&lt;/router-outlet&gt;
    &lt;project&gt;...&lt;/project&gt;
&lt;/app&gt;
</code></pre>

<p>where <code>project</code> element is inserted by the router.</p>

<p>How do I add a class to this element?</p>
