Commit 921e39f57c3dbaaf9ec065d6d68a3e6b1b6e5c63
1 parent
535dfdb872
Exists in
develop
Add
Sinonimo service a shared modules
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/app/modules/shared/shared.module.ts
1 | import { NgModule, ModuleWithProviders } from '@angular/core'; | 1 | import { NgModule, ModuleWithProviders } from '@angular/core'; |
2 | import { ArticuloService } from 'src/app/services/articulo/articulo.service'; | 2 | import { ArticuloService } from 'src/app/services/articulo/articulo.service'; |
3 | import { CategoriaService } from 'src/app/services/categoria/categoria.service'; | 3 | import { CategoriaService } from 'src/app/services/categoria/categoria.service'; |
4 | import { SinonimoService } from 'src/app/services/sinonimo/sinonimo.service'; | ||
4 | 5 | ||
5 | @NgModule({}) | 6 | @NgModule({}) |
6 | export class SharedModule { | 7 | export class SharedModule { |
7 | static forRoot(): ModuleWithProviders { | 8 | static forRoot(): ModuleWithProviders { |
8 | return { | 9 | return { |
9 | ngModule: SharedModule, | 10 | ngModule: SharedModule, |
10 | providers: [ | 11 | providers: [ |
11 | ArticuloService, | 12 | ArticuloService, |
12 | CategoriaService | 13 | CategoriaService, |
14 | SinonimoService | ||
13 | ] | 15 | ] |
14 | }; | 16 | }; |
15 | } | 17 | } |
16 | } | 18 | } |
17 | 19 |