docs: fix misc broken links for Dart (#2953)

This commit is contained in:
Patrice Chalin 2016-12-08 13:39:19 -08:00 committed by Kathy Walrath
parent 1a5f4f4907
commit 0f64eb8535
5 changed files with 11 additions and 15 deletions

View File

@ -24,13 +24,11 @@ block css-import-url
be given as is illustrated below.
block module-id
p.
:marked
Thankfully, this is the default interpretation of relative URLs in
Angular2 for Dart:
+makeExample('component-styles/ts/app/quest-summary.component.ts', 'urls')(format='.')
:marked
Note that special measures must be taken in Angular2 for TypeScript, if
relative URLs are to have the same interpretation. See
[here](../../../ts/latest/guide/component-styles.html#relative-urls)
for details.
+makeExcerpt('app/quest-summary.component.ts', 'urls', '')

View File

@ -254,8 +254,7 @@ figure.image-display
The `p` template input variable is a different power in each iteration;
we display its name using the interpolation syntax with the double curly braces.
.l-main-section
.l-main-section#ngModel
:marked
## Two-way data binding with ***ngModel**
Running the app right now would be disappointing.

View File

@ -250,7 +250,7 @@ a#aot
and returns a fully prepared instance of "A".
Angular provides and relies upon its own sophisticated
[dependency injection](dependency-injection.html) system
[dependency injection](!{docsLatest}/guide/dependency-injection.html) system
to assemble and run applications by "injecting" application parts
into other application parts where and when needed.

View File

@ -298,8 +298,7 @@ a#relative-urls
## Appendix 2: Loading Styles with Relative URLs
It's common practice to split a component's code, HTML, and CSS into three separate files in the same directory:
code-example(format='').
code-example(format="nocode").
quest-summary.component.ts
quest-summary.component.html
quest-summary.component.css
@ -313,7 +312,8 @@ block module-id
:marked
We can change the way Angular calculates the full URL be setting the component metadata's `moduleId` property to `module.id`.
+makeExample('component-styles/ts/app/quest-summary.component.ts','', 'app/quest-summary.component.ts')
+makeExample('app/quest-summary.component.ts')
:marked
Learn more about `moduleId` in the [Component-Relative Paths](../cookbook/component-relative-paths.html) chapter.

View File

@ -271,8 +271,7 @@ ol
The `pow` template input variable is a different power in each iteration;
we display its name using the interpolation syntax with the double-curly-braces.
<a id="ngModel"></a>
.l-main-section
.l-main-section#ngModel
:marked
## Two-way data binding with **_ngModel_**
Running the app right now would be disappointing.