angular-cn/packages/examples/forms/ts/nestedFormGroup/module.ts

23 lines
637 B
TypeScript

/**
* @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 {NestedFormGroupComp} from './nested_form_group_example';
@NgModule({
imports: [BrowserModule, ReactiveFormsModule],
declarations: [NestedFormGroupComp],
bootstrap: [NestedFormGroupComp]
})
export class AppModule {
}
export {NestedFormGroupComp as AppComponent};