title: @Input is undefined on ngOnInit angular 2
body: <p>for some reason I can't access to the @Input value of a property even if I try from the ngOnInit() method. </p>
  
  <p>index.html</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Angular 2 QuickStart&lt;/title&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;    
  
      &lt;!-- 1. Load libraries --&gt;
      &lt;!-- IE required polyfills, in this exact order --&gt;
      &lt;script src="node_modules/es6-shim/es6-shim.min.js"&gt;&lt;/script&gt;
      &lt;script src="node_modules/systemjs/dist/system-polyfills.js"&gt;&lt;/script&gt;
      &lt;script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"&gt;&lt;/script&gt;   
  
      &lt;script src="node_modules/angular2/bundles/angular2-polyfills.js"&gt;&lt;/script&gt;
      &lt;script src="node_modules/systemjs/dist/system.src.js"&gt;&lt;/script&gt;
      &lt;script src="node_modules/rxjs/bundles/Rx.js"&gt;&lt;/script&gt;
      &lt;script src="node_modules/angular2/bundles/angular2.dev.js"&gt;&lt;/script&gt;
  
      &lt;!-- 2. Configure SystemJS --&gt;
      &lt;script&gt;
        System.config({
          packages: {        
            app: {
              format: 'register',
              defaultExtension: 'js'
            }
          }
        });
        System.import('app/main')
              .then(null, console.error.bind(console));
      &lt;/script&gt;
    &lt;/head&gt;
  
    &lt;!-- 3. Display the application --&gt;
    &lt;body&gt;
      &lt;my-app title="Quick start guide"&gt;Loading...&lt;/my-app&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>main.ts</p>
  
  <pre><code>import { bootstrap } from 'angular2/platform/browser';
  import { AppComponent } from './app.component';
  
  bootstrap(AppComponent);
  </code></pre>
  
  <p>app.component.ts</p>
  
  <pre><code>import {Component, Input, OnInit} from 'angular2/core'
  
  @Component({
    selector: 'my-app',
    template: '&lt;h1&gt;{{ title }}&lt;/h1&gt;'
  })
  export class AppComponent {
      @Input() title: string;
  
      constructor() {
      }
  
      ngOnInit() {
          console.log(this.title);
      }
  }
  </code></pre>
  
  <p>That <code>console.log(this.title)</code> is always undefined and the template <code>&lt;h1&gt;{{ title }}&lt;/h1&gt;</code> is rendering an empty value.</p>
  
  <p>What I'm missing? I did this a few times before and it always worked.</p>