From 333802745c82901acb16f7f5f26f46a5b776fa1f Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Tue, 25 Sep 2018 11:52:07 -0500 Subject: [PATCH] docs: remove unused properties from forms overview example (#25663) PR Close #25663 --- aio/content/examples/forms-overview/src/app/app.module.ts | 1 - .../app/reactive/favorite-color/favorite-color.component.ts | 3 +-- .../app/template/favorite-color/favorite-color.component.ts | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/aio/content/examples/forms-overview/src/app/app.module.ts b/aio/content/examples/forms-overview/src/app/app.module.ts index 1991c7ae17b569..fbce0eff3e4109 100644 --- a/aio/content/examples/forms-overview/src/app/app.module.ts +++ b/aio/content/examples/forms-overview/src/app/app.module.ts @@ -14,7 +14,6 @@ import { TemplateModule } from './template/template.module'; ReactiveModule, TemplateModule ], - providers: [], bootstrap: [AppComponent] }) export class AppModule { } diff --git a/aio/content/examples/forms-overview/src/app/reactive/favorite-color/favorite-color.component.ts b/aio/content/examples/forms-overview/src/app/reactive/favorite-color/favorite-color.component.ts index 25e901f6e47bc8..282df4d8dbe518 100644 --- a/aio/content/examples/forms-overview/src/app/reactive/favorite-color/favorite-color.component.ts +++ b/aio/content/examples/forms-overview/src/app/reactive/favorite-color/favorite-color.component.ts @@ -5,8 +5,7 @@ import { FormControl } from '@angular/forms'; selector: 'app-reactive-favorite-color', template: ` Favorite Color: - `, - styles: [] + ` }) export class FavoriteColorComponent { favoriteColorControl = new FormControl(''); diff --git a/aio/content/examples/forms-overview/src/app/template/favorite-color/favorite-color.component.ts b/aio/content/examples/forms-overview/src/app/template/favorite-color/favorite-color.component.ts index b5abdffcfffd70..7a965b7c33c49f 100644 --- a/aio/content/examples/forms-overview/src/app/template/favorite-color/favorite-color.component.ts +++ b/aio/content/examples/forms-overview/src/app/template/favorite-color/favorite-color.component.ts @@ -4,8 +4,7 @@ import { Component } from '@angular/core'; selector: 'app-template-favorite-color', template: ` Favorite Color: - `, - styles: [] + ` }) export class FavoriteColorComponent { favoriteColor = '';