My page should load content from a backend (Contentful.com) as soon as possible.
Im loading the backend content in an extra service, which is registered in my root module.
How do I make sure, that the function `getContent()` in this service is called as soon as possible?:

```
import { Injectable } from '@angular/core';
import {environment} from 'src/environments/environment.local';

@Injectable({
  providedIn: 'root'
})
export class GetContentService {

  constructor() { }

  getContent() {
   loadingMyContentIntoAnObservable.then(content => 
      console.log("received the content", content");
  }
}

```

My idea was to create a Home component that has the service in the constructor and then in `ngOnInit()` of this component call `getContentService.getContent()`. But is this the fastest way?
(I know it's only a matter of milliseconds, but I want to learn the right / best way...)