Commit 9d290484 authored by dev0tion's avatar dev0tion

ApiService already provided in app.module

parent f36ed56e
...@@ -3,8 +3,6 @@ import { CommonModule } from '@angular/common'; ...@@ -3,8 +3,6 @@ import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms'; import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router'; import { RouterModule } from '@angular/router';
import { ApiService} from './api/api.service';
@NgModule({ @NgModule({
imports: [CommonModule, RouterModule], imports: [CommonModule, RouterModule],
declarations: [], declarations: [],
...@@ -15,7 +13,7 @@ export class SharedModule { ...@@ -15,7 +13,7 @@ export class SharedModule {
static forRoot(): ModuleWithProviders { static forRoot(): ModuleWithProviders {
return { return {
ngModule: SharedModule, ngModule: SharedModule,
providers: [ApiService] providers: [ ]
}; };
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment