Skip to content

Commit

Permalink
docs: remove unused properties from forms overview example (angular#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts authored and FrederikSchlemmer committed Jan 3, 2019
1 parent 3bc763c commit 3338027
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion aio/content/examples/forms-overview/src/app/app.module.ts
Expand Up @@ -14,7 +14,6 @@ import { TemplateModule } from './template/template.module';
ReactiveModule,
TemplateModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Expand Up @@ -5,8 +5,7 @@ import { FormControl } from '@angular/forms';
selector: 'app-reactive-favorite-color',
template: `
Favorite Color: <input type="text" [formControl]="favoriteColorControl">
`,
styles: []
`
})
export class FavoriteColorComponent {
favoriteColorControl = new FormControl('');
Expand Down
Expand Up @@ -4,8 +4,7 @@ import { Component } from '@angular/core';
selector: 'app-template-favorite-color',
template: `
Favorite Color: <input type="text" [(ngModel)]="favoriteColor">
`,
styles: []
`
})
export class FavoriteColorComponent {
favoriteColor = '';
Expand Down

0 comments on commit 3338027

Please sign in to comment.