app.module.ts.template 447 B

123456789101112131415161718
  1. import { BrowserModule } from '@angular/platform-browser';
  2. import { NgModule } from '@angular/core';
  3. <% if (routing) { %>
  4. import { AppRoutingModule } from './app-routing.module';<% } %>
  5. import { AppComponent } from './app.component';
  6. @NgModule({
  7. declarations: [
  8. AppComponent
  9. ],
  10. imports: [
  11. BrowserModule<% if (routing) { %>,
  12. AppRoutingModule<% } %>
  13. ],
  14. providers: [],
  15. bootstrap: [AppComponent]
  16. })
  17. export class AppModule { }