0

I am new to Angular 2 and working on creating applications in Angular 2 .

Can anybody please explain me what is the logic behind the statement "export class AppModule{}" in the app.module.ts file in Angular 2 application.

Heena
  • 1,691
  • 13
  • 37
  • 56
  • Possible duplicate of [Why Angular export empty class in app.modules.ts?](https://stackoverflow.com/questions/44316561/why-angular-export-empty-class-in-app-modules-ts) – zronn Nov 09 '17 at 12:04
  • In your main.ts you have to bootstrap a module. See the line platformBrowserDynamic().bootstrapModule(AppModule) – Eliseo Nov 09 '17 at 15:54

0 Answers0