At the first blush, it may seem that online editors are very similar, but you’ll discover that it’s not that way at all. Having a powerful document management solution like DocHub, you can do much more than with regular tools. What makes our editor unique is its ability not only to quickly Inject code in IT Service Request but also to design documentation completely from scratch, just the way you need it!
In spite of its extensive editing features, DocHub has a very easy-to-use interface that offers all the features you want at hand. Therefore, altering a IT Service Request or a completely new document will take only a few minutes.
Sign up for a free trial and enjoy your best-ever document-related experience with DocHub!
in the last couple of lectures we learned about hierarchical dependency injection in angular now in this lecture we are going to learn how to inject a service into another service and yes that is also possible we can inject a service into another service so lets understand with an example how to inject one service into another service for that lets go ahead and lets create a new service but before that let me comment this console.log statement from this add user component okay lets save the changes and lets close this file and now inside this services folder lets create a new file and lets call this file logger service and since it is going to be a typescript file we need to specify the extension as dot ts inside this file lets create a class lets call it logger service and lets also export this class now inside this logger service class lets write a method and lets call this method log message this method is going to receive two parameters the name which is going to be of