fix: toh-pt6 and embeded live example in ngmodule.
This commit is contained in:
parent
6aeb8efaa3
commit
054d25cefe
|
@ -1112,8 +1112,6 @@ a#feature-modules
|
|||
|
||||
试试范例的`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>
|
||||
|
||||
a#lazy-load
|
||||
|
|
|
@ -212,6 +212,8 @@ block dont-be-distracted-by-backend-subst
|
|||
:marked
|
||||
Our updated import statements are now:
|
||||
|
||||
更新后的导入声明如下:
|
||||
|
||||
+makeExcerpt('app/hero.service.ts (updated imports)', 'imports')
|
||||
|
||||
- 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
|
||||
mock server.
|
||||
|
||||
刷新浏览器后,英雄数据就会从Mock服务器被成功读取。
|
||||
|
||||
<h3 id="!{_h3id}">HTTP !{_Promise}</h3>
|
||||
|
||||
### Http承诺(Promise)
|
||||
|
|
Loading…
Reference in New Issue