|
1 | 1 | import { BrowserModule } from '@angular/platform-browser';
|
2 | 2 | import { NgModule } from '@angular/core';
|
3 |
| - |
| 3 | +import { ClarityModule } from "clarity-angular"; |
4 | 4 | import { AppComponent } from './app.component';
|
| 5 | +import { DashboardComponent } from './dashboard/dashboard.component'; |
| 6 | +import {FormsModule, ReactiveFormsModule} from "@angular/forms"; |
| 7 | +import { HttpModule } from '@angular/http'; |
| 8 | +import { YoutubeApiService } from './services/youtube-api.service'; |
| 9 | +import {PlaylistNameFilterModule } from './pipes/playlist-item-name.pipe'; |
| 10 | +import {YoutubeSearchbarComponent } from './dashboard/youtube-searchbar/youtube-searchbar.component'; |
| 11 | +import { YoutubePlayerComponent } from './dashboard/youtube-player/youtube-player.component'; |
5 | 12 |
|
| 13 | +import { YoutubePlayerModule } from 'ng2-youtube-player'; |
| 14 | +import {YoutubePlayerService} from "./services/youtube-player.service"; |
| 15 | +import { UserPlaylistComponent } from './dashboard/youtube-searchbar/user-playlist/user-playlist.component'; |
| 16 | +import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; |
| 17 | +import {MdCardModule, MdButtonModule, MdSidenavModule} from '@angular/material'; |
| 18 | +import {InfiniteScrollModule} from "angular2-infinite-scroll"; |
| 19 | +import { YoutubePlayerVideoDescriptionComponent } from './dashboard/youtube-player/youtube-player-video-description/youtube-player-video-description.component'; |
| 20 | +import {MdDialogModule} from '@angular/material'; |
| 21 | +import { YoutubeCategoryComponent } from './dashboard/youtube-searchbar/youtube-category/youtube-category.component'; |
6 | 22 | @NgModule({
|
7 | 23 | declarations: [
|
8 |
| - AppComponent |
| 24 | + AppComponent, |
| 25 | + DashboardComponent, |
| 26 | + YoutubeSearchbarComponent, |
| 27 | + YoutubePlayerComponent, |
| 28 | + UserPlaylistComponent, |
| 29 | + YoutubePlayerVideoDescriptionComponent, |
| 30 | + YoutubeCategoryComponent, |
| 31 | + |
9 | 32 | ],
|
10 | 33 | imports: [
|
11 |
| - BrowserModule |
| 34 | + BrowserModule, |
| 35 | + ClarityModule, |
| 36 | + FormsModule, |
| 37 | + ReactiveFormsModule, |
| 38 | + HttpModule, |
| 39 | + PlaylistNameFilterModule, |
| 40 | + YoutubePlayerModule, |
| 41 | + BrowserAnimationsModule, |
| 42 | + MdCardModule, |
| 43 | + MdButtonModule, |
| 44 | + MdSidenavModule, |
| 45 | + InfiniteScrollModule, |
| 46 | + MdDialogModule |
| 47 | + |
12 | 48 | ],
|
13 |
| - providers: [], |
| 49 | + providers: [YoutubeApiService, YoutubePlayerService], |
14 | 50 | bootstrap: [AppComponent]
|
15 | 51 | })
|
16 | 52 | export class AppModule { }
|
0 commit comments