title: Angular2: JsonObject as @Input value
body: <p>Angular2: 2.0.0-beta8</p>
  
  <p>I would like to customize a Directive. In order to achieve that I created an Object that contains all my custom parameters and I hoped to pass it on my template like this :</p>
  
  <p>My directive used in a template:</p>
  
  <pre><code>&lt;div my-directive="{param1: 46, param2: 48}"&gt;&lt;/div&gt;
  </code></pre>
  
  <hr>
  
  <p>Input in my Directive:</p>
  
  <pre><code>@Input('my-directive')
  public conf: Configuration;
  </code></pre>
  
  <hr>
  
  <p>Param Object definition:</p>
  
  <pre><code>export interface Configuration{param1;param2; ...}
  </code></pre>
  
  <hr>
  
  <p>Sadly, it doesn't work. Maybe cause of a Json parse ?</p>
  
  <ul>
  <li>How to get it works ?</li>
  <li>Should I have to create this "Param Object" on my component, and pass it to the template using a variable ?</li>
  <li>Is there a best practices ?</li>
  </ul>