48 lines
1.3 KiB
TypeScript
48 lines
1.3 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { HttpModule } from '@angular/http';
|
|
|
|
import { AppComponent } from './app.component';
|
|
import { DashboardComponent } from './dashboard.component';
|
|
import { AlbumComponent } from './album/album.component';
|
|
import { ArtistComponent } from './artist/artist.component';
|
|
import { GenreComponent } from './genre/genre.component';
|
|
import { SongTableComponent } from './song-table/song-table.component';
|
|
|
|
import { ElsService } from './els.service';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { ConvertMsPipe } from './convertms.pipe';
|
|
import { ConvertMoreExactPipe } from './convert-more-exact.pipe';
|
|
import { SortByPipe } from './sort-by.pipe';
|
|
import { ConvertSizeToStringPipe } from './convert-size-to-string.pipe';
|
|
|
|
import { LastAddedComponent } from './last-added/last-added.component';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
BrowserModule,
|
|
HttpModule,
|
|
AppRoutingModule
|
|
],
|
|
declarations: [
|
|
AppComponent,
|
|
DashboardComponent,
|
|
AlbumComponent,
|
|
ArtistComponent,
|
|
GenreComponent,
|
|
SongTableComponent,
|
|
LastAddedComponent,
|
|
ConvertMsPipe,
|
|
ConvertMoreExactPipe,
|
|
SortByPipe,
|
|
ConvertSizeToStringPipe
|
|
],
|
|
providers: [
|
|
ElsService
|
|
],
|
|
bootstrap: [ AppComponent ]
|
|
})
|
|
export class AppModule { }
|