title: @Input in Angular 4
body: <p>I am new to Angular 4.As per my understanding, @Input is used to pass values to a component. But when I use it as mentioned below it doesn't work. </p>
  
  <pre><code>my-file.component.html
      &lt;h1 [user] = "currentuser"&gt;&lt;/h1&gt;
  
  my-file.component.ts
      @Input() 
      user : string;
  </code></pre>