Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs: fix misc broken links for Dart #2953

Merged
merged 1 commit into from
Dec 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions public/docs/dart/latest/guide/component-styles.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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', '')



3 changes: 1 addition & 2 deletions public/docs/dart/latest/guide/forms.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion public/docs/ts/latest/glossary.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
6 changes: 3 additions & 3 deletions public/docs/ts/latest/guide/component-styles.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

3 changes: 1 addition & 2 deletions public/docs/ts/latest/guide/forms.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down