title: Angular 4 default radio button checked by default
body: <p>I'm trying to mark as a default a radiobutton depending on the value I get from my object, it can be True or False. What could I do to mark as a default radiobutton depending on the option?</p>
  
  <pre><code>&lt;label&gt;This rule is true if:&lt;/label&gt;
  &lt;label class="form-check-inline"&gt;
      &lt;input class="form-check-input" type="radio" name="mode" value="true" 
          [(ngModel)]="rule.mode"&gt; all of the following conditions are true
  &lt;/label&gt;
  &lt;label class="form-check-inline"&gt;
      &lt;input class="form-check-input" type="radio" name="mode" value="false"
          [(ngModel)]="rule.mode"&gt; at least one of the following conditions is true
  &lt;/label&gt;
  </code></pre>
  
  <p>I have the true or false set in <code>rule.mode</code>.</p>