2 - 6
In this lesson, we discuss how and when to use factory providers, to enable dependencies that shouldn’t be available to Angular’s DI.
So how is this example any different than
this.logger = new Logger(true);
which doesn't use any DI?