title: How to pass object as a param on ngModelChange angular 2
body: <p>Notice: Im just starting with angular..
  Ok, this is what I have:</p>
  
  <pre><code>&lt;select class="form-control custom-select"
        [(ngModel)]=package
        (ngModelChange)="bindPackageCount(package)"
        formControlName="packagingProfile"&gt;
         &lt;option *ngFor="let package of createdPackageData"
                 [value]="package.count"&gt;
                 {{package.package.name}} - {{package.type.name}}
         &lt;/option&gt;
   &lt;/select&gt;
  </code></pre>
  
  <p>By providing package.count as [value] of a select tag I can bind to it and pass it as param to bindPackageCount. What Im trying to do is to pass complete package (object) as a param not just the package.count (number). However, when I do that</p>
  
  <pre><code>bindPackageCount(package) {
      // package resolves to [Object object]
  }
  </code></pre>
  
  <p>Per questions from others.. Yes, this is a reactive form, here is its creation:</p>
  
  <pre><code>createPackagingForm() {
      this.packagingForm = this._fb.group({
          packagingProfile: ['', Validators.required]
      });
  }
  </code></pre>
  
  <p>any ideas? thx</p>