Do I need to do this for every single component / page in my app?
No, only on the pages where you need to interact with the API.
Since it’s injected in ngModule, it’s initiated at start up.
Makes sense. Thanks!
I’m still a bit unclear. Can you elaborate? Since what is injected in ngModule? What page needs to interact with the API? The root page?
I put the code referenced in the docs in the constructor of app.component.ts