title: Setting formControl in Angular 2 with boolean value 'true' programmatically is marking form as dirty
body: <p>I am trying to set boolean value in formControl programmatically. But this is marking form as dirty. Going by Angular docs, "programmatic changes to a control's value will not mark it dirty"
  <a href="https://angular.io/api/forms/AbstractControl#pristine" rel="nofollow noreferrer">https://angular.io/api/forms/AbstractControl#pristine</a></p>
  
  <p>Code:</p>
  
  <pre><code>this.formGroup.get(ruleOutput.attributeKey).setValue(JSONUtils.parseJSON(ruleOutput.attributeValue))
  </code></pre>
  
  <p>FOR FYI, JSONParser Code (Don't think any error here):</p>
  
  <pre><code>public static parseJSON(input : any) : any{
      try{
          return JSON.parse(input);
      }catch(Error){
          console.log("Inside JSON Utils: Error while parsing input JSON :");
          console.log(input);
          console.log(Error.toString());
          console.log("Return Empty JSON");
          return JSON.parse("{}");
      }
  }
  </code></pre>
  
  <p>Point is after setting the value, form is being marked as dirty.</p>
  
  <p>Please help me in getting to root cause of this.</p>