Files
gun/examples/angular/src/app/app.module.ts
Victor Noël a2148b36b3 angular-demo: simplify code
- Use ngx-pipes to transform object to array of pairs
- Extract GunDb in its own file
- Introduce deletion
2017-04-19 21:14:31 +02:00

25 lines
603 B
TypeScript

import { BrowserModule } from '@angular/platform-browser';
import { NgModule, Injectable } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { Observable } from 'rxjs/Observable';
import { NgPipesModule } from 'ngx-pipes';
import { AppComponent } from './app.component';
import { GunDb } from 'app/gun.service';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule,
NgPipesModule
],
providers: [GunDb],
bootstrap: [AppComponent]
})
export class AppModule { }