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…