docs(*): fix links to Dart API entries (#2185)

* docs(*): fix links to Dart API entries

* post-review updates
This commit is contained in:
Patrice Chalin 2016-08-24 14:46:06 -07:00 committed by Kathy Walrath
parent 2fcda45161
commit 014883d074
6 changed files with 13 additions and 21 deletions

View File

@ -34,6 +34,12 @@ block real-logger
A real implementation would probably use the
[logging package](https://pub.dartlang.org/packages/logging).
block provider-shorthand
:marked
This is actually a shorthand expression for a provider registration
that creates a new instance of the
[Provider](../api/angular2.core/Provider-class.html) class:
block provider-ctor-args
- var _secondParam = 'named parameter, such as <code>useClass</code>'
:marked

View File

@ -518,7 +518,7 @@ figure.image-display
Recall from the previous section that `ngControl` registered this input box with the
`NgForm` directive as "name".
We didn't add the **[`NgForm`](../api/common/index/NgForm-directive.html) directive*
We didn't add the [NgForm](../api/angular2.common/NgForm-class.html) directive
explicitly. Angular added it surreptitiously, wrapping it around the `<form>` element.
The `NgForm` directive supplements the `<form>` element with additional features.

View File

@ -527,15 +527,10 @@ code-example(format="nocode").
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-1')
:marked
This is actually a short-hand expression for a provider registration
<span if-docs="ts">
block provider-shorthand
:marked
This is actually a shorthand expression for a provider registration
using a _provider_ object literal with two properties:
</span>
<span if-docs="dart">
that creates a new instance of the
[Provider](../api/core/index/Provider-class.html) class:
</span>
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-3')

View File

@ -492,8 +492,6 @@ table
[viewChild](../api/core/index/ViewChild-var.html) and
[contentChild](../api/core/index/ContentChild-var.html).
// TODO (global): once we have api docs everywhere, change /docs/ts/latest/ to ../
:marked
### Binding target
An element property between enclosing square brackets identifies the target property. The target property in the following code is the image elements `src` property.

View File

@ -527,15 +527,10 @@ code-example(format="nocode").
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-1')
:marked
This is actually a short-hand expression for a provider registration
<span if-docs="ts">
block provider-shorthand
:marked
This is actually a shorthand expression for a provider registration
using a _provider_ object literal with two properties:
</span>
<span if-docs="dart">
that creates a new instance of the
[Provider](../api/core/index/Provider-class.html) class:
</span>
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-3')

View File

@ -492,8 +492,6 @@ table
[viewChild](../api/core/index/ViewChild-var.html) and
[contentChild](../api/core/index/ContentChild-var.html).
// TODO (global): once we have api docs everywhere, change /docs/ts/latest/ to ../
:marked
### Binding target
An element property between enclosing square brackets identifies the target property. The target property in the following code is the image elements `src` property.