Skip to content

Instantly share code, notes, and snippets.

@GrandSchtroumpf
Created August 23, 2018 17:18
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 GrandSchtroumpf/eb7a4a0040dae8e0e758654fb8c5b314 to your computer and use it in GitHub Desktop.
Save GrandSchtroumpf/eb7a4a0040dae8e0e758654fb8c5b314 to your computer and use it in GitHub Desktop.
@ngeth : add ProviderModule
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { ProviderModule } from '@ngeth/provider';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
ProviderModule.init('https://ropsten.infura.io')
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment