title: Angular2 checkbox with primeng fails
body: <p>I am using angular2 cli and this is the way i have setup my form</p>
  
  <p>In the component</p>
  
  <pre><code>export class UsersAddComponent implements OnInit {
  
   ngOnInit() {
      this.userForm = this._formBuilder.group({
        role: ['', [Validators.required]],
        others: this._formBuilder.array([])  //for adding multipe form inputs
      });
  
     this.addNewUser();
  
    }
  
    initAddress() {
       return this._formBuilder.group({     
         sendcred: [''],  //checkbox needs no validation in my logic
          needs_reset: [''], // ''
          .....other fields here
      });
   }
  
  
    addNewUser() {  //this is called whenever add new user button is clicked
       const control = &lt;FormArray&gt;this.userForm.controls['others'];
       const addrCtrl = this.initAddress();
       control.push(addrCtrl);
     }
  </code></pre>
  
  <p>In the html template am using primeng checkbox like this</p>
  
  <pre><code>  &lt;p-checkbox formControlName="needs_reset" label="User has to set password" 
     (onChange)="Onpwdchange()"&gt;&lt;/p-checkbox&gt;
  
    &lt;p-checkbox formControlName="sendcred" name="send cred"  label="Send user
   login credentials " (onChange)="Oncredchange()"&gt;&lt;/p-checkbox&gt;
  </code></pre>
  
  <p>The methods <code>onpwdchange()</code> and oncredchange() just have a <code>console.log("clicked")</code></p>
  
  <p>Whenever i check the checkboxes am getting an error</p>
  
  <pre><code>this.model.push is not a function  //i havent implemented push method anywhere
  </code></pre>
  
  <p>Ive checked on <a href="https://github.com/primefaces/primeng/issues/549" rel="nofollow noreferrer">This primeng2 issue</a> but they advice use of <code>disableDeprecatedForms()</code> and <code>provideForms()</code> which are not available in angular2 cli</p>
  
  <p>How do i solve this issue</p>