title: primeng radio button how to change checked
body: <p>I am using PrimeNg radio buttons. By default it is not checked. I want to be able programmatically using javascript or typescript to check the radio button.</p>
  
  <p>I tried the following but it doesn't work.</p>
  
  <pre><code>&lt;p-radioButton inputId="taken" id="taken" name="groupname" value="true"  class="col-sm-3 pl-3"  [(ngModel)]="modalTaken"&gt;&lt;/p-radioButton&gt;
  </code></pre>
  
  <p></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>document.getElementById("taken").checked=true;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I would expect to be able to change the radio button to check. As it work in normal radio button(not primeng radio button).</p>