title: Angular2- Object as Radio Input Value
body: <p>Is it possible to bind a JSON object to a radio input in Angular2? </p>
  
  <p>I have a JSON object named <code>object</code> and I tried </p>
  
  <pre><code>&lt;input type="radio" [(ngModel)]="selectedObject" [ngValue]="object"&gt;
  </code></pre>
  
  <p>but it gives <code>ngValue is not a known property of input</code> error. I also tried </p>
  
  <pre><code>&lt;input type="radio" [(ngModel)]="selectedObject" value="{{object}}"&gt;
  </code></pre>
  
  <p>But then <code>selectedObject</code> becomes <code>[object Object]</code>.</p>