Why do we use @Injectable() decorator , when we can actually inject services without using the decorator as well?

前端 未结 0 1561
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 20:24

I was working on a project and came across a service which does not have the @Injectable() decorator, and works fine. Till now , I was under the impression that in angular i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题