title: Angular2 How to Define Input Property in Plain JS
body: <p>I want to specify an Input property for my component using plain JS (not typescript). </p>
  
  <p>The only documentation I can find is this (which is from the Angular2 <a href="https://angular.io/docs/js/latest/guide/cheatsheet.html">cheat sheet</a>):</p>
  
  <pre><code>ng.core.Input(myProperty, myComponent); 
  //Declares an input property that we can 
  //update via property binding (e.g. &lt;my-cmp [my-property]="someExpression"&gt;).
  </code></pre>
  
  <p>I've tried this in my component's constructor:</p>
  
  <pre><code>.Class({
     constructor: function () {    
         ng.core.Input(this.name, this);        
     }
  });      
  </code></pre>
  
  <p>However, it does not work (no errors are reported either). </p>
  
  <p>What am I doing wrong?</p>