Skip to content

app.module.ts #28

@zenithtekla

Description

@zenithtekla

How come this boilerplate doesn't have app.module.ts?
What can I do when I want to specify more imports and declarations to NgModule?
The Heroes-Tour tutorial on Angular2 homepage requires adding to @NgModule.

Can I write this in boot.ts? Or where and how to put this code below properly in this angular2-beta-boilerplate repo? Does this have anything to do with different beta/production versions of Angular2?

@NgModule({
  imports: [ BrowserModule, FormsModule ],
declarations: [ AppComponent, HeroDetailComponent ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions