摘要: If the dependency is added to a module, it gets registered on the root injector. 如果依赖添加到module上,那么,这些服务会注册到root injector。 angular每个组件都有对应的injector,然后组 阅读全文
posted @ 2018-11-18 13:17 Aoeuy 阅读(217) 评论(0) 推荐(0) 编辑