title: Disable other check boxes with [disabled] in Angular 2
body: <p>I want the other check boxes to be disabled when one is selected. I am doing so by</p>
  
  <pre><code>&lt;span class="input-group-addon"&gt;
      &lt;input type="checkbox" name="ssn" (change)="checkBox[0].checked=!checkBox[0].checked"&gt;
  &lt;/span&gt;
  
  &lt;span class="input-group-addon"&gt;
     &lt;label&gt;{{checkBox[0].label}}&lt;/label&gt;
  &lt;/span&gt;
  
  &lt;input [(ngModel)]="ssn" type="password" name="ssnText" class="form-control" placeholder=" "&gt;
  </code></pre>
  
  <p>I have 6 checkboxes all of which look like above. However I want them to only be able to select 1 checkbox NOT multiple like it is doing right now. </p>
  
  <p>In my component:</p>
  
  <pre><code>ssn:string;
      userId:string;
      lastName:string;
      office:string;
      role:string;
  
  checkIfOthersAreSelected:boolean
  
  checkBox = [
      {label: 'SSN', name:'ssn', checked:false},
      {label: 'Last Name', name:'lastName', checked:false},
      {label: 'Role', name:'role', checked:false},
      {label: 'UserId', name:'userId', checked:false},
      {label: 'Office', name:'office', checked:false},
      {label: ' Include Subordinates', name:'subordinates', checked:false}
  ];
  </code></pre>
  
  <p>button in html</p>
  
  <pre><code>&lt;button type="submit" (click)="search(checkBox)" class="btn btn-default btn-md left-button"&gt;Search&lt;/button&gt;
  </code></pre>
  
  <p>searchMethod</p>
  
  <pre><code> public search(checkboxArray) {
  
          let ssn = checkboxArray[0];
          let lastName=checkboxArray[1];
          let role=checkboxArray[2];
          let userId= checkboxArray[3];
          let office=checkboxArray[4];
  
  
          if(ssn.checked == true){
              console.log("What is checked: "+ssn.name+" input: "+this.ssn);
              this.user = this._searchService.getUserBySSN(this.ssn);
          }
          if(userId.checked == true){
              console.log("What is checked: "+userId.name+" input: "+this.userId);
              this.user = this._searchService.getUserById(this.userId);
          }
  </code></pre>