diff --git a/public/docs/dart/latest/guide/dependency-injection.jade b/public/docs/dart/latest/guide/dependency-injection.jade index 3e4c5011e3..6656739107 100644 --- a/public/docs/dart/latest/guide/dependency-injection.jade +++ b/public/docs/dart/latest/guide/dependency-injection.jade @@ -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 useClass' :marked diff --git a/public/docs/dart/latest/guide/forms.jade b/public/docs/dart/latest/guide/forms.jade index 73651c1092..863ee5e9bd 100644 --- a/public/docs/dart/latest/guide/forms.jade +++ b/public/docs/dart/latest/guide/forms.jade @@ -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 `
` element. The `NgForm` directive supplements the `` element with additional features. diff --git a/public/docs/ts/_cache/guide/dependency-injection.jade b/public/docs/ts/_cache/guide/dependency-injection.jade index 2ad5b7a7ed..7242a7055a 100644 --- a/public/docs/ts/_cache/guide/dependency-injection.jade +++ b/public/docs/ts/_cache/guide/dependency-injection.jade @@ -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 - +block provider-shorthand + :marked + This is actually a shorthand expression for a provider registration using a _provider_ object literal with two properties: - - - that creates a new instance of the - [Provider](../api/core/index/Provider-class.html) class: - +makeExample('dependency-injection/ts/app/providers.component.ts','providers-3') diff --git a/public/docs/ts/_cache/guide/template-syntax.jade b/public/docs/ts/_cache/guide/template-syntax.jade index 6cebce7b81..165db573c3 100644 --- a/public/docs/ts/_cache/guide/template-syntax.jade +++ b/public/docs/ts/_cache/guide/template-syntax.jade @@ -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 element’s `src` property. diff --git a/public/docs/ts/latest/guide/dependency-injection.jade b/public/docs/ts/latest/guide/dependency-injection.jade index 8755cbec03..43d758dfbd 100644 --- a/public/docs/ts/latest/guide/dependency-injection.jade +++ b/public/docs/ts/latest/guide/dependency-injection.jade @@ -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 - +block provider-shorthand + :marked + This is actually a shorthand expression for a provider registration using a _provider_ object literal with two properties: - - - that creates a new instance of the - [Provider](../api/core/index/Provider-class.html) class: - +makeExample('dependency-injection/ts/app/providers.component.ts','providers-3') diff --git a/public/docs/ts/latest/guide/template-syntax.jade b/public/docs/ts/latest/guide/template-syntax.jade index 6cebce7b81..165db573c3 100644 --- a/public/docs/ts/latest/guide/template-syntax.jade +++ b/public/docs/ts/latest/guide/template-syntax.jade @@ -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 element’s `src` property.