News for hackers. Stuff that matters.
Re:Angular v8.0 by bradstewart on Wednesday May 29, 2019 @03:55PM (#20044629)
Unless you care about the scope/lifecycle of the service. Or want to easily replace its implementation in different contexts (like tests).
Re:Angular v8.0 by ng12 on Wednesday May 29, 2019 @03:57PM (#20044654)
Most test frameworks allow you to stub imports. DI is just one of the many wheels Angular has reinvented.