title: Angular 2 input parameters on root directive
body: <p><a href="https://angular.io/docs/ts/latest/api/core/Input-var.html">This</a> example shows how to use @Input() annotation on child components. My question is how do you use it on root component? For example if you modify code on the link above:</p>
  
  <pre><code>@Component({
  selector: 'app',
  template: `
      &lt;bank-account bank-name="RBC" account-id="4747"&gt;&lt;/bank-account&gt;
  `,
  directives: [BankAccount]
  })
  class App {
      @Input() something: string;
  }
  
  bootstrap(App);
  </code></pre>
  
  <p>And in html:</p>
  
  <pre><code>&lt;app something="Test"&gt;&lt;/app&gt;
  </code></pre>
  
  <p>The above example never updates <em>something</em> property on App component.</p>