fix: toh-pt6 and embeded live example in ngmodule.

This commit is contained in:
Zhimin YE (Rex) 2016-09-19 14:48:05 +01:00
parent 6aeb8efaa3
commit 054d25cefe
2 changed files with 4 additions and 2 deletions

View File

@ -1112,8 +1112,6 @@ a#feature-modules
试试范例的`ContactModule`版。 试试范例的`ContactModule`版。
<live-example embedded plnkr="contact.2" img="devguide/ngmodule/contact-2-plunker.png">Try the live example.</live-example>
<live-example embedded plnkr="contact.2" img="devguide/ngmodule/contact-2-plunker.png">试试在线例子</live-example> <live-example embedded plnkr="contact.2" img="devguide/ngmodule/contact-2-plunker.png">试试在线例子</live-example>
a#lazy-load a#lazy-load

View File

@ -212,6 +212,8 @@ block dont-be-distracted-by-backend-subst
:marked :marked
Our updated import statements are now: Our updated import statements are now:
更新后的导入声明如下:
+makeExcerpt('app/hero.service.ts (updated imports)', 'imports') +makeExcerpt('app/hero.service.ts (updated imports)', 'imports')
- var _h3id = `http-${_promise}` - var _h3id = `http-${_promise}`
@ -219,6 +221,8 @@ block dont-be-distracted-by-backend-subst
Refresh the browser, and the hero data should be successfully loaded from the Refresh the browser, and the hero data should be successfully loaded from the
mock server. mock server.
刷新浏览器后英雄数据就会从Mock服务器被成功读取。
<h3 id="!{_h3id}">HTTP !{_Promise}</h3> <h3 id="!{_h3id}">HTTP !{_Promise}</h3>
### Http承诺(Promise) ### Http承诺(Promise)