view src/app/app.module.ts @ 21:d9c0a1ca005c

Prototype some playback controls, and tabbed menus in the sidebar.
author Lucas Thompson <dev@lucas.im>
date Fri, 28 Oct 2016 16:27:25 +0100
parents b12e78d6185e
children 3e96bcbfa5c5
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 {MailService} from "./mail.service";
import {MaterialModule} from "@angular/material";
import { WaveformComponent } from './waveform/waveform.component';
import { AudioFileOpenComponent } from './audio-file-open/audio-file-open.component';
import { PlaybackControlComponent } from './playback-control/playback-control.component';

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

}