diff --git a/public/docs/dart/latest/guide/component-styles.jade b/public/docs/dart/latest/guide/component-styles.jade index c1608c5b63..bcff4d9c63 100644 --- a/public/docs/dart/latest/guide/component-styles.jade +++ b/public/docs/dart/latest/guide/component-styles.jade @@ -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', '') + + diff --git a/public/docs/dart/latest/guide/forms.jade b/public/docs/dart/latest/guide/forms.jade index a2d1feb8fa..6e2591fc08 100644 --- a/public/docs/dart/latest/guide/forms.jade +++ b/public/docs/dart/latest/guide/forms.jade @@ -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. diff --git a/public/docs/ts/latest/glossary.jade b/public/docs/ts/latest/glossary.jade index 8d81e46cfd..02e5d8cf73 100644 --- a/public/docs/ts/latest/glossary.jade +++ b/public/docs/ts/latest/glossary.jade @@ -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. diff --git a/public/docs/ts/latest/guide/component-styles.jade b/public/docs/ts/latest/guide/component-styles.jade index 2ea8d2761a..210d02637a 100644 --- a/public/docs/ts/latest/guide/component-styles.jade +++ b/public/docs/ts/latest/guide/component-styles.jade @@ -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. diff --git a/public/docs/ts/latest/guide/forms.jade b/public/docs/ts/latest/guide/forms.jade index 702de9d90f..de03784ef1 100644 --- a/public/docs/ts/latest/guide/forms.jade +++ b/public/docs/ts/latest/guide/forms.jade @@ -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. - -.l-main-section +.l-main-section#ngModel :marked ## Two-way data binding with **_ngModel_** Running the app right now would be disappointing.