diff --git a/aio/content/examples/ajs-quick-reference/src/app/movie-list.component.css b/aio/content/examples/ajs-quick-reference/src/app/movie-list.component.css
index a3d5bf8161..d635cff06a 100644
--- a/aio/content/examples/ajs-quick-reference/src/app/movie-list.component.css
+++ b/aio/content/examples/ajs-quick-reference/src/app/movie-list.component.css
@@ -11,8 +11,6 @@ table {
margin:20px;
border:#ccc 1px solid;
- -moz-border-radius:3px;
- -webkit-border-radius:3px;
border-radius:3px;
}
table th {
@@ -46,12 +44,8 @@ table tr:last-child td {
border-bottom:0;
}
table tr:last-child td:first-child {
- -moz-border-radius-bottomleft:3px;
- -webkit-border-bottom-left-radius:3px;
border-bottom-left-radius:3px;
}
table tr:last-child td:last-child {
- -moz-border-radius-bottomright:3px;
- -webkit-border-bottom-right-radius:3px;
border-bottom-right-radius:3px;
}
diff --git a/aio/content/examples/ajs-quick-reference/src/app/movie-list.component.html b/aio/content/examples/ajs-quick-reference/src/app/movie-list.component.html
index 9de98806d7..e1ee6d62c5 100644
--- a/aio/content/examples/ajs-quick-reference/src/app/movie-list.component.html
+++ b/aio/content/examples/ajs-quick-reference/src/app/movie-list.component.html
@@ -67,9 +67,7 @@
@@ -66,4 +64,6 @@
-
+
+
+
diff --git a/aio/content/examples/attribute-binding/src/app/app.module.ts b/aio/content/examples/attribute-binding/src/app/app.module.ts
index 82bb10d175..c835fc16cb 100644
--- a/aio/content/examples/attribute-binding/src/app/app.module.ts
+++ b/aio/content/examples/attribute-binding/src/app/app.module.ts
@@ -1,15 +1,15 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
-
import { AppComponent } from './app.component';
import { CompWithHostBindingComponent } from './comp-with-host-binding.component';
-
+import { MyInputWithAttributeDecoratorComponent } from './my-input-with-attribute-decorator.component';
@NgModule({
declarations: [
AppComponent,
- CompWithHostBindingComponent
+ CompWithHostBindingComponent,
+ MyInputWithAttributeDecoratorComponent
],
imports: [
BrowserModule
diff --git a/aio/content/examples/attribute-directives/src/app/app.component.1.html b/aio/content/examples/attribute-directives/src/app/app.component.1.html
index f05c4a1bd3..9a9bfccd73 100644
--- a/aio/content/examples/attribute-directives/src/app/app.component.1.html
+++ b/aio/content/examples/attribute-directives/src/app/app.component.1.html
@@ -4,11 +4,7 @@
Highlight me!
-
Highlighted in yellow
Highlighted in orange
-
-
Highlighted with parent component's color
-
\ No newline at end of file
diff --git a/aio/content/examples/attribute-directives/src/app/highlight.directive.2.ts b/aio/content/examples/attribute-directives/src/app/highlight.directive.2.ts
index d039083beb..fac7b79e4b 100644
--- a/aio/content/examples/attribute-directives/src/app/highlight.directive.2.ts
+++ b/aio/content/examples/attribute-directives/src/app/highlight.directive.2.ts
@@ -1,8 +1,8 @@
/* tslint:disable:no-unused-variable member-ordering */
// #docplaster
-// #docregion imports,
+// #docregion imports
import { Directive, ElementRef, HostListener } from '@angular/core';
-// #enddocregion imports,
+// #enddocregion imports
import { Input } from '@angular/core';
// #docregion
@@ -10,37 +10,22 @@ import { Input } from '@angular/core';
selector: '[appHighlight]'
})
export class HighlightDirective {
- // #docregion ctor
- constructor(private el: ElementRef) { }
- // #enddocregion ctor
- // #docregion mouse-methods, host
+ constructor(private el: ElementRef) { }
+
+ // #docregion mouse-methods
@HostListener('mouseenter') onMouseEnter() {
- // #enddocregion host
this.highlight('yellow');
- // #docregion host
}
@HostListener('mouseleave') onMouseLeave() {
- // #enddocregion host
this.highlight(null);
- // #docregion host
}
- // #enddocregion host
private highlight(color: string) {
this.el.nativeElement.style.backgroundColor = color;
}
- // #enddocregion mouse-methods,
+ // #enddocregion mouse-methods
- // #docregion color
- @Input() highlightColor: string;
- // #enddocregion color
-
- // #docregion color-2
- @Input() appHighlight: string;
- // #enddocregion color-2
-
-// #docregion
}
// #enddocregion
diff --git a/aio/content/examples/attribute-directives/src/app/highlight.directive.3.ts b/aio/content/examples/attribute-directives/src/app/highlight.directive.3.ts
index 01c7cb679c..0d61602c08 100644
--- a/aio/content/examples/attribute-directives/src/app/highlight.directive.3.ts
+++ b/aio/content/examples/attribute-directives/src/app/highlight.directive.3.ts
@@ -10,13 +10,13 @@ export class HighlightDirective {
constructor(private el: ElementRef) { }
- @Input('appHighlight') highlightColor: string;
+ // #docregion input
+ @Input() appHighlight: string;
+ // #enddocregion input
- // #docregion mouse-enter
@HostListener('mouseenter') onMouseEnter() {
- this.highlight(this.highlightColor || 'red');
+ this.highlight(this.appHighlight || 'red');
}
- // #enddocregion mouse-enter
@HostListener('mouseleave') onMouseLeave() {
this.highlight(null);
diff --git a/aio/content/examples/attribute-directives/src/app/highlight.directive.ts b/aio/content/examples/attribute-directives/src/app/highlight.directive.ts
index dd138ae09d..fbee354143 100644
--- a/aio/content/examples/attribute-directives/src/app/highlight.directive.ts
+++ b/aio/content/examples/attribute-directives/src/app/highlight.directive.ts
@@ -12,9 +12,7 @@ export class HighlightDirective {
@Input() defaultColor: string;
// #enddocregion defaultColor
- // #docregion color
@Input('appHighlight') highlightColor: string;
- // #enddocregion color
// #docregion mouse-enter
@HostListener('mouseenter') onMouseEnter() {
diff --git a/aio/content/examples/bootstrapping/src/app/app.module.ts b/aio/content/examples/bootstrapping/src/app/app.module.ts
index 3059978a82..b7d1a9bbae 100644
--- a/aio/content/examples/bootstrapping/src/app/app.module.ts
+++ b/aio/content/examples/bootstrapping/src/app/app.module.ts
@@ -1,6 +1,4 @@
// #docplaster
-// #docregion whole-ngmodule
-
// imports
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
@@ -32,5 +30,3 @@ import { ItemDirective } from './item.directive';
bootstrap: [AppComponent]
})
export class AppModule { }
-
-// #enddocregion whole-ngmodule
diff --git a/aio/content/examples/built-in-directives/src/app/app.component.css b/aio/content/examples/built-in-directives/src/app/app.component.css
index 201fe682c4..52cccf1628 100644
--- a/aio/content/examples/built-in-directives/src/app/app.component.css
+++ b/aio/content/examples/built-in-directives/src/app/app.component.css
@@ -59,7 +59,7 @@ img {
.study,
.modified {
- font-family: "Brush Script MT";
+ font-family: "Brush Script MT", cursive;
font-size: 2rem;
}
diff --git a/aio/content/examples/built-in-directives/src/app/app.component.html b/aio/content/examples/built-in-directives/src/app/app.component.html
index 17b3fed9a4..646dd405b3 100644
--- a/aio/content/examples/built-in-directives/src/app/app.component.html
+++ b/aio/content/examples/built-in-directives/src/app/app.component.html
@@ -7,11 +7,8 @@