摘要: In order to resolve a dependency, Angular’s DI uses type annotations. To make sure these types are preserved when transpiled to ES5, TypeScript emits 阅读全文
posted @ 2016-09-17 03:31 Zhentiw 阅读(337) 评论(0) 推荐(0)
摘要: This lesson discusses when and how to add dependencies, resolved by Angular’s DI, to factory providers. The example used in this lesson builts upon th 阅读全文
posted @ 2016-09-17 03:30 Zhentiw 阅读(273) 评论(0) 推荐(0)