摘要: TypeScript is used heavily as we build up our application, but TypeScript isn’t required. If you want to Inject a Service without using TypeScript, yo 阅读全文
posted @ 2016-03-20 22:26 Zhentiw 阅读(309) 评论(0) 推荐(0)
摘要: Note that many editors support “safe write” feature and have it enabled by default, which makes dev server unable to watch files correctly. “Safe writ 阅读全文
posted @ 2016-03-20 05:37 Zhentiw 阅读(297) 评论(0) 推荐(0)
摘要: To avoid using "any" type is a best pratice. The reason for that is it disable the power of typescirpt to helping check you during the compile time. F 阅读全文
posted @ 2016-03-20 05:06 Zhentiw 阅读(199) 评论(0) 推荐(0)
摘要: Using Services in Angular 2 is very simple. This lesson covers how to create a simple class as a Service then set it up so that you can use it across 阅读全文
posted @ 2016-03-20 03:39 Zhentiw 阅读(162) 评论(0) 推荐(0)
摘要: This lesson talks about the benefits of using the parens-based (click) syntax so that Angular 2 can handle any custom event. Then the video explains h 阅读全文
posted @ 2016-03-20 03:18 Zhentiw 阅读(230) 评论(0) 推荐(0)