Last active
September 12, 2019 13:01
-
-
Save FunnyGhost/4ac0ab1354733bb2f1a1a7b4a94208a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class FavoriteMoviesService { | |
constructor(private http: HttpClient) {} | |
getFavoriteMovies(): Observable<Movie[]> { | |
return this.http.get<Movie[]>(environment.favoriteUrl); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment