@Component & @Injectable
This is enough for Mineject to initialize the TestManager object and add it to the list of dependencies.
Now if you want to inject the TestManager object into the constructor you can do it like this.
Remember to use the @Injectable annotation in the constructor!
Last updated