110. Injecting the Logging Service into Components

6:21 2 Reproduktory 2 Kapitoly 144 segmenty

Kapitoly

  1. 0:02

    In the last lecture we created our service and I told you to not instantiate it on your own. I told you that Angular offers some great tool which will give us access to our services. It's Angular's dependency injector. What is a dependency …

  2. 5:05

    TypeScript needs to know where this logging service comes from. Not Angular, TypeScript. And I will also add my provider, of course, because for this component too, I need to inform Angular how to create this logging service. So if we do th…