this.projectList = this._bootStrapIncident.bootStrapIncidentMethod() .subscribe( data1 => { this.projectList = data1; console.log(this.projectList); },
return this._http .post(this.userUrl, options) .map((res: Response) => res.json()) .catch (this.handleError);
Image of output