added fake-backend to AppModule
This commit is contained in:
@@ -18,6 +18,7 @@ import { InputComponent } from './chat/input/input.component';
|
|||||||
import { LoginComponent } from './account/login/login.component';
|
import { LoginComponent } from './account/login/login.component';
|
||||||
import { TestComponent } from './test/test.component';
|
import { TestComponent } from './test/test.component';
|
||||||
import { RegisterComponent } from './account/register/register.component';
|
import { RegisterComponent } from './account/register/register.component';
|
||||||
|
import { fakeBackendProvider } from './utils/fake-backend';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
@@ -41,7 +42,9 @@ import { RegisterComponent } from './account/register/register.component';
|
|||||||
ReactiveFormsModule,
|
ReactiveFormsModule,
|
||||||
AppRoutingModule,
|
AppRoutingModule,
|
||||||
],
|
],
|
||||||
providers: [],
|
providers: [
|
||||||
|
fakeBackendProvider,
|
||||||
|
],
|
||||||
bootstrap: [AppComponent]
|
bootstrap: [AppComponent]
|
||||||
})
|
})
|
||||||
export class AppModule { }
|
export class AppModule { }
|
||||||
|
|||||||
Reference in New Issue
Block a user