added http module (REST)

This commit is contained in:
Janis Meister
2022-01-12 14:49:33 +01:00
parent c3d79e7152
commit ccdea32631
4 changed files with 31 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import {HttpClientModule} from '@angular/common/http';
import { AppComponent } from './app.component';
@NgModule({
@@ -8,7 +8,8 @@ import { AppComponent } from './app.component';
AppComponent,
],
imports: [
BrowserModule
BrowserModule,
HttpClientModule
],
providers: [],
bootstrap: [AppComponent]