docs(forms): add example apps for ngModel (#11524)

This commit is contained in:
Kara
2016-09-12 11:27:29 -07:00
committed by Evan Martin
parent 7b82877ee5
commit 66e38b6754
7 changed files with 235 additions and 15 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 {FormsModule} from '@angular/forms';
import {BrowserModule} from '@angular/platform-browser';
import {SimpleFormComp} from './simple_form_example';
@NgModule({
imports: [BrowserModule, FormsModule],
declarations: [SimpleFormComp],
bootstrap: [SimpleFormComp]
})
export class AppModule {
}