docs(forms): add example app for formControlDirective (#11508)

This commit is contained in:
Kara
2016-09-12 11:24:09 -07:00
committed by Evan Martin
parent dd8204a655
commit 57cb82052b
4 changed files with 134 additions and 39 deletions

View File

@ -0,0 +1,20 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
import {BrowserModule} from '@angular/platform-browser';
import {SimpleFormControl} from './simple_form_control_example';
@NgModule({
imports: [BrowserModule, ReactiveFormsModule],
declarations: [SimpleFormControl],
bootstrap: [SimpleFormControl]
})
export class AppModule {
}