Skip to content

Instantly share code, notes, and snippets.

@fireflysemantics
Created September 8, 2022 03:54
Show Gist options
  • Save fireflysemantics/58369556a67f61c2c0e7ec8a7fe5d9d2 to your computer and use it in GitHub Desktop.
Save fireflysemantics/58369556a67f61c2c0e7ec8a7fe5d9d2 to your computer and use it in GitHub Desktop.
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { HelloComponent } from './hello.component';
import { GreetingServiceModule } from './services/greeting-service.module';
import { AppRoutingModule } from './app-routing.module';
@NgModule({
imports: [
BrowserModule,
FormsModule,
AppRoutingModule,
GreetingServiceModule.config({ greeting: 'Hola' }),
],
declarations: [AppComponent, HelloComponent],
bootstrap: [AppComponent],
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment