27 lines
649 B
TypeScript
27 lines
649 B
TypeScript
import { BrowserModule } from '@angular/platform-browser';
|
|
import { NgModule } from '@angular/core';
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { TaskListComponent } from './task-list/task-list.component';
|
|
import { BackendService } from './services/backend.service';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent,
|
|
TaskListComponent
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
AppRoutingModule,
|
|
HttpClientModule
|
|
],
|
|
providers: [
|
|
BackendService,
|
|
],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|