view src/app/app.module.ts @ 5:8d82412dfd50

Bring waves-ui in as a global script for now (only way I've been able to get it to work) and start building a waveform component.
author Lucas Thompson <dev@lucas.im>
date Wed, 26 Oct 2016 16:54:51 +0100
parents b4a1e0a67389
children 1fcc8c9ec54c
line wrap: on
line source
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { AppComponent } from './app.component';
import { SimpleFormComponent } from './simple-form/simple-form.component';
import {MailService} from "./mail.service";
import {MaterialModule} from "@angular/material";
import { WaveformComponent } from './waveform/waveform.component';

@NgModule({
  declarations: [
    AppComponent,
    SimpleFormComponent,
    WaveformComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    MaterialModule.forRoot()
  ],
  providers: [
    MailService,
    {provide: 'piper-server-uri', useValue: 'ws://not/a/real/path'}
  ],
  bootstrap: [AppComponent]
})
export class AppModule {

}