xian ge
xian ge
return new Observable((observer: Observer) => { this.http.get(this.getUserInfoUrl(CONTACT_URL)) .map(res => res.json().data) .subscribe(res=>{ observer.next(res); observer.complete(); }); });
getQuestionnaireById(id: string) { return this.http.get(SITE_HOST_URL + 'questionnaire/' + id) .map(res => res.json().data) .catch(this.handleError); }
getting a rootscopeinprog error when using your code with existing codeas barcode scanner