Skip to content

Commit 052f33d

Browse files
committed
external dependency defined in module
1 parent 2890ffd commit 052f33d

File tree

4 files changed

+10
-48
lines changed

4 files changed

+10
-48
lines changed

src/app/app.component.spec.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/app/app.module.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
import { BrowserModule } from '@angular/platform-browser';
22
import { NgModule } from '@angular/core';
3+
import { HttpClientModule } from "@angular/common/http";
34

45
import { AppComponent } from './app.component';
56
import { CardComponent } from './card/card.component';
67

8+
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
9+
import { ToastrModule } from 'ngx-toastr';
10+
11+
import { FontAwesomeModule } from "@fortawesome/angular-fontawesome";
712
@NgModule({
813
declarations: [
914
AppComponent,
1015
CardComponent
1116
],
1217
imports: [
13-
BrowserModule
18+
BrowserModule,
19+
HttpClientModule,
20+
BrowserAnimationsModule, // required animations module
21+
ToastrModule.forRoot(), // ToastrModule added
22+
FontAwesomeModule
1423
],
1524
providers: [],
1625
bootstrap: [AppComponent]
File renamed without changes.

src/app/user.service.spec.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)