docs(arch,hier-dep,temp-syntax,toh-5): misc copyedits (#3375)

* docs(architecture): copyedit

Follow-up fix to
https://github.com/angular/angular.io/commit/e6741efd8f4fad20ca519d8eb99
ec0c7d102577d#commitcomment-21321447

* docs(hierarchical-dependency): copyedit

* doc(template-syntax): copyedits

* docs(toh-5): remove unnecessary block, trim whitespace
This commit is contained in:
Patrice Chalin 2017-03-15 03:54:03 -07:00 committed by Jesús Rodríguez
parent 2fbca288c2
commit c2bb6ad935
4 changed files with 17 additions and 18 deletions

View File

@ -252,7 +252,7 @@ block ts-decorator
The `@Component` decorator takes a required configuration object with the The `@Component` decorator takes a required configuration object with the
information Angular needs to create and present the component and its view. information Angular needs to create and present the component and its view.
Here are a few of the most useful @Component configuration options: Here are a few of the most useful `@Component` configuration options:
:marked :marked
- `selector`: CSS selector that tells Angular to create and insert an instance of this component - `selector`: CSS selector that tells Angular to create and insert an instance of this component

View File

@ -115,6 +115,7 @@ figure.image-display
Each selected hero tax return opens in its own component and multiple returns can be open at the same time. Each selected hero tax return opens in its own component and multiple returns can be open at the same time.
Each tax return component has the following characteristics: Each tax return component has the following characteristics:
* Is its own tax return editing session. * Is its own tax return editing session.
* Can change a tax return without affecting a return in another component. * Can change a tax return without affecting a return in another component.
* Has the ability to save the changes to its tax return or cancel them. * Has the ability to save the changes to its tax return or cancel them.

View File

@ -21,7 +21,7 @@ style.
a#toc a#toc
:marked :marked
### Table of contents ### Contents
This guide covers the basic elements of the Angular template syntax, elements you'll need to construct the view: This guide covers the basic elements of the Angular template syntax, elements you'll need to construct the view:
@ -528,7 +528,6 @@ table(width="100%")
<code>style</code> property <code>style</code> property
td td
+makeExample('template-syntax/ts/src/app/app.component.html', 'style-binding-syntax-1')(format=".") +makeExample('template-syntax/ts/src/app/app.component.html', 'style-binding-syntax-1')(format=".")
</div>
:marked :marked
With this broad view in mind, you're ready to look at binding types in detail. With this broad view in mind, you're ready to look at binding types in detail.
@ -699,7 +698,7 @@ a#one-time-initialization
:marked :marked
Fortunately, Angular data binding is on alert for dangerous HTML. Fortunately, Angular data binding is on alert for dangerous HTML.
It *sanitizes* the values before displaying them. It [*sanitizes*](security#sanitization-and-security-contexts) the values before displaying them.
It **will not** allow HTML with script tags to leak into the browser, neither with interpolation It **will not** allow HTML with script tags to leak into the browser, neither with interpolation
nor property binding. nor property binding.

View File

@ -863,9 +863,8 @@ block css-files
+makeExcerpt('src/app/app.component.ts (active router links)', 'template') +makeExcerpt('src/app/app.component.ts (active router links)', 'template')
block style-urls :marked
:marked Add a `styleUrls` property that refers to this CSS file as follows:
Add a `styleUrls` property that points to this CSS file as follows.
+makeExcerpt('src/app/app.component.ts','styleUrls') +makeExcerpt('src/app/app.component.ts','styleUrls')