一些小的修订

This commit is contained in:
Zhicheng Wang 2016-04-23 22:23:31 +08:00
parent 9ecd6699cd
commit 6943fd58a9
1 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ include ../_util-fns
a list of heroes, editing a selected hero's detail, and navigating among different a list of heroes, editing a selected hero's detail, and navigating among different
views of heroic data. views of heroic data.
当然,我们在这个教程中,我们只完成一小步。我们这次构建的应用将用到很多对特性:获得并显示英雄列表,编辑所选英雄的详情,并在英雄数据的多个视图之间建立导航。这些特性,在全面、数据驱动的应用中经常见到。 当然,在这个教程中,我们只完成一小步。我们这次构建的应用将用到很多对特性:获得并显示英雄列表,编辑所选英雄的详情,并在英雄数据的多个视图之间建立导航。这些特性,在全面、数据驱动的应用中经常见到。
The Tour of Heroes covers the core fundamentals of Angular. The Tour of Heroes covers the core fundamentals of Angular.
Well use built-in directives to show/hide elements and display lists of hero data. Well use built-in directives to show/hide elements and display lists of hero data.
@ -25,7 +25,7 @@ include ../_util-fns
Well learn to select a hero from a master list and edit that hero in the details view. We'll Well learn to select a hero from a master list and edit that hero in the details view. We'll
format data with pipes. We'll create a shared service to assemble our heroes. And we'll use routing to navigate among different views and their components. format data with pipes. We'll create a shared service to assemble our heroes. And we'll use routing to navigate among different views and their components.
篇《英雄指南》覆盖了Angular的核心原则 个《英雄指南》覆盖了Angular的核心原理
我们将使用内建指令来显示/隐藏元素,并且显示英雄数据的列表。 我们将使用内建指令来显示/隐藏元素,并且显示英雄数据的列表。
我们将创建一个组件来显示英雄的详情,另一个组件则用来显示英雄列表。 我们将创建一个组件来显示英雄的详情,另一个组件则用来显示英雄列表。
我们将对只读数据使用单向数据绑定。我们将添加一些可编辑字段,并使用双向数据绑定更新模型。 我们将对只读数据使用单向数据绑定。我们将添加一些可编辑字段,并使用双向数据绑定更新模型。
@ -40,8 +40,8 @@ include ../_util-fns
We'll be covering a lot of ground at an introductory level but well find plenty of links We'll be covering a lot of ground at an introductory level but well find plenty of links
to chapters with greater depth. to chapters with greater depth.
我们将学习足够的Angular核心技术以尝试起步并建立信心 —— Angular确实能做到我们需要它做的这些。 我们将学习足够的Angular核心技术以尝试起步并建立信心 —— 证明Angular确实能做到我们需要它做的这些。
我们将覆盖大部分“简介级”知识,但是我们还会找到大量的链接,指向更深的章节。 我们将覆盖大部分“简介级”知识,但是我们还会放上大量链接,指向更深入的章节。
// #enddocregion intro // #enddocregion intro
@ -54,7 +54,7 @@ include ../_util-fns
.l-main-section .l-main-section
:marked :marked
## The End Game ## The End Game
## 终极游戏 ## 游戏的终点
Here's a visual idea of where we're going in this tour, beginning with the "Dashboard" Here's a visual idea of where we're going in this tour, beginning with the "Dashboard"
view and our most heroic heroes: view and our most heroic heroes:
@ -69,7 +69,7 @@ figure.image-display
We could click them to navigate between this Dashboard and a Heroes view. We could click them to navigate between this Dashboard and a Heroes view.
这个仪表盘中有两个链接:“仪表盘”和“英雄”。 这个仪表盘中有两个链接:“仪表盘”和“英雄”。
我们将点它们来在“仪表盘”和“英雄”视图之间导航。 我们将点击它们,以便在“仪表盘”和“英雄”视图之间导航。
Instead we click the dashboard hero named "Magneta" and the router takes us to a "Hero Details" view Instead we click the dashboard hero named "Magneta" and the router takes us to a "Hero Details" view
of that hero where we can change the hero's name. of that hero where we can change the hero's name.