Using Observables in Angular 4 to get data from an API service