title: Cannot find the 'property name' in angular 7 (Compile time error)
body: <p>I'm trying to integrate my backend api with frontend.I'm getting the following error.
  Cannot find name 'cus_id'.
  Cannot find name 'username'.
  Cannot find name 'fullname'.etc </p>
  
  <p>expect 'location and status ' all other property name is error.<a href="https://i.stack.imgur.com/wPSHy.png" rel="nofollow noreferrer">Error</a></p>
  
  <pre><code>Customer.component.ts 
  </code></pre>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>constructor(private fb: FormBuilder, private cs: CustomerService, private ps: ProductService) {}
  
    ngOnInit() {
      this.createForm();
      this.showSuccess = false;
      this.getProductList();
    }
  
    createForm() {
      this.customer_addForm = this.fb.group({
        username: [''],
        cus_id: [''],
        email: [''],
        fullname: [''],
        customer_currency: [''],
        mobile_primary: [''],
        website: [''],
        country: [''],
        location: [''],
        city: [''],
        postal_code: [''],
        status: [''],
        productList: ['']
      });
    }
  
    submitcustomeraddForm() {
      this.showSuccess = false;
      this.allProducts = _.uniq[this.allProducts];
  
     
  
      this.cs.addCustomer(username,
        cus_id, email,
        fullname,  customer_currency,
        mobile_primary,  website,
        country,  location,
         city,
        postal_code,
        status,
        productList);
    }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Customer.service.ts</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>export class CustomerService {
  
    uri = 'http://localhost:3000/customer';
  
    constructor(private http: HttpClient) { }
  
   addCustomer(username,
    cus_id, email,
    fullname,  customer_currency,
    mobile_primary,  website,
    country,  location,
     city,
    postal_code,
    status,
    productList) {
  
    const obj = {
      username: username,
      cus_id: cus_id,
      email: email,
      fullname: fullname,
      customer_currency:  customer_currency,
      mobile_primary:  mobile_primary,
      website:  website,
      country:  country,
      location:  location,
      city:  city,
      postal_code:  postal_code,
      status:  status,
      productList: productList
    };
      return this.http.post(`${this.uri}/add`, obj).subscribe(res =&gt; console.log('done'));
    }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I've searched for solution in web , but i didn't found one.i've no idea why it is showing not found.</p>