110. Injecting the Logging Service into Components
6:21
2 സ്പീക്കറുകള്
2 അദ്ധ്യായങ്ങള്
144 ഗ്രൂപ്പുകള്
സ്പീക്കറുകള്
അദ്ധ്യായങ്ങള്
-
0:02അദ്ധ്യായം 1: In the last lecture we created our service and I told you to not instantiate it on your own. 302s · Speaker 1
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 …
-
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…