Add class to custom component angular 2
<p>I have a <code>&lt;myComponent &gt;&lt;/myComponent&gt;</code> and I want give class to myComponent?</p>

<pre><code>This doesnt worked `&lt;myComponent class="my-class"&gt;&lt;/myComponent&gt;` 
</code></pre>

<p>How can  I do that?</p>