Property 'subscribe' does not exist on type '() => Observable<any>'
问题 service file import { Observable } from 'rxjs/Rx'; import { Http,Response} from '@angular/http'; import { Injectable } from '@angular/core'; import 'rxjs/add/operator/Map'; @Injectable() export class VideoService { private geturl = '/api/videos'; constructor(private _http:Http) { } getvideos() { return this._http.get(this.geturl).map((response:Response) => { response.json() }); } } here is where the subscribe method showing this error import { VideoService } from '../video.service'; import {