add services to core module
This commit is contained in:
1 parent
c4d8416556
commit
c539ab6162
1 file changed
+11
-1
@@ -2,10 +2,20 @@ import { NgModule, Optional, SkipSelf } from '@angular/core';
|
|||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
|
||||||
import { TmdbService } from './services/tmdb.service';
|
import { TmdbService } from './services/tmdb.service';
|
||||||
|
import { LibraryService } from './services/library.service';
|
||||||
|
import { EntryService } from './services/entry.service';
|
||||||
|
import { ListService } from './services/list.service';
|
||||||
|
import { ToggleService } from './services/toggle.service';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [CommonModule],
|
imports: [CommonModule],
|
||||||
providers: [TmdbService],
|
providers: [
|
||||||
|
TmdbService,
|
||||||
|
LibraryService,
|
||||||
|
EntryService,
|
||||||
|
ListService,
|
||||||
|
ToggleService,
|
||||||
|
],
|
||||||
})
|
})
|
||||||
export class CoreModule {
|
export class CoreModule {
|
||||||
constructor(@Optional() @SkipSelf() parentModule?: CoreModule) {
|
constructor(@Optional() @SkipSelf() parentModule?: CoreModule) {
|
||||||
|
|||||||
Reference in new issue
Block a user