Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { ApiService } from 'app/api.service';
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule],
providers: [
{ provide: ApiService, useClass: ApiService }
],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment