pass parameter through selectors in component Angular 2
<p>I actually want to apply a specific class on button (which is in btn.component.html) if it is passed through the selector. <br><br>my selector is</p>

<pre><code>&lt;btn&gt;&lt;/btn&gt;
</code></pre>

<p>btn.component.ts is</p>

<pre><code>import {Component} from '@angular/core';

@Component({
  selector: 'btn',
  template: require('./btn.component.html')
})

export class BtnComponent { }
</code></pre>

<p>btn.component.html is</p>

<pre><code>&lt;button&gt;Okay&lt;/button&gt;
</code></pre>