Skip to content

Instantly share code, notes, and snippets.

@rahulsahay19
Created November 14, 2017 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahulsahay19/4441af220fce01f0f31879969c87c3cb to your computer and use it in GitHub Desktop.
Save rahulsahay19/4441af220fce01f0f31879969c87c3cb to your computer and use it in GitHub Desktop.
app.module.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { routes } from './app-routing.module';
import AppComponent from './app.component';
import InlineComponent from './inline.component';
import SampleInlineComponent from './sample-inline.component';
import { LoggingService } from './looging-service';
@NgModule({
declarations: [
AppComponent,
InlineComponent
],
imports: [ BrowserModule, routes ],
bootstrap: [ AppComponent ],
providers:[LoggingService]
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment