title: Angular (8) - Foreach loop call subscribe and ForkJoin them (See description)
body: <p>What I am doing is a <code>foreach</code> loop on an <code>array</code> of objects and on each of those objects what I am doing is calling a subscribe to an API. My problem is that I keep getting back (in the object console log) a &quot;_zone_aware_promise&quot; with the value but I can't access it. I've tried a couple of things like async-await in the function but I did not include here since I simplified my code below:</p>
  <pre><code>// Method call
  nonEmployeeValidation( employees: any ) {
  
    employees.forEach(element =&gt; {
      element.manager = this.api_validation(element.manager)
    });
  
    // My loop is done i've formatted my object good to go from here
    this.someMethodCallForFurtherLogic(employees)
   
  }
  
  // Api call
  api_validation( manager: string ) {
  
     // This goes to the service I built basically its just an HTTPCLIENT POST METHOD
     this.employeeService.managerValidation(manager)
            .subscribe((res: APIResponse&lt;any&gt;) =&gt; {
             return res.isValid;
     });
  
  }
  
  </code></pre>