title: ngModel returns empty result to CreateComponent
body: <p>I want to capture the <code>Employee</code> result, so I defined the <code>Employee</code> object and try to capture those values using <code>[ngModel]</code>, but I get empty results. could you please help me to resolve this?</p>
  <p>Employee.ts</p>
  <pre class="lang-js prettyprint-override"><code>import {IEmployee} from &quot;../_interfaces/IEmployee&quot;;
  import {ISalary} from &quot;../_interfaces/ISalary&quot;;
  import {IDesignation} from &quot;../_interfaces/IDesignation&quot;;
  
  export class Employee implements IEmployee {
    public birth_date: string;
    public designations: IDesignation;
    public emp_no: string;
    public first_name: string;
    public gender: string;
    public hire_date: string;
    public id: string;
    public last_name: string;
    public salaries: ISalary;
  
    constructor(
      birth_date: string,
      designations: IDesignation,
      emp_no: string,
      first_name: string,
      gender: string,
      hire_date: string,
      id: string,
      last_name: string,
      salaries: ISalary,
    ) {
      this.birth_date = birth_date;
      this.designations = designations;
      this.emp_no = emp_no;
      this.first_name = first_name;
      this.gender = gender;
      this.hire_date = hire_date;
      this.id = id;
      this.last_name = last_name;
      this.salaries = salaries;
    }
  
  
  }
  </code></pre>
  <p>create.component.ts</p>
  <pre class="lang-js prettyprint-override"><code>export class CreateComponent implements OnInit {
  
  
    public employee: Employee= {
      birth_date: &quot;&quot;,
      designations: &lt;Designations&gt;{
        id: '',
        title: '',
        emp_no: '',
        from_date: '',
        to_date: '',
      },
      emp_no: &quot;&quot;,
      first_name: &quot;&quot;,
      gender: &quot;&quot;,
      hire_date: &quot;&quot;,
      id: &quot;&quot;,
      last_name: &quot;&quot;,
      salaries: &lt;Salary&gt;{
        id: &quot;&quot;,
        emp_no: &quot;&quot;,
        salary: &quot;&quot;,
        rom_date: &quot;&quot;,
        to_date: &quot;&quot;,
      },
    };
  
    constructor() {
    }
  
    ngOnInit(): void {
    }
  
    getValues(){
      console.log(this.employee);
    }
  
  
  }
  </code></pre>
  <p>create.component.html</p>
  <pre><code>&lt;label&gt;First Name&lt;/label&gt;
  &lt;input [ngModel]=&quot;employee.first_name&quot;  [ngModelOptions]=&quot;{standalone:true}&quot; class=&quot;form-control&quot; type=&quot;text&quot;&gt;
  &lt;button class=&quot;btn btn-primary&quot; (click)=&quot;getValues()&quot;&gt;Save Entries&lt;/button&gt;
  </code></pre>
  <p>Output</p>
  <blockquote>
  <p>NULL</p>
  </blockquote>