From GandalfLife, 3 Months ago, written in JavaScript.
Embed
  1. import { BrowserModule } from '@angular/platform-browser';
  2. import { NgModule } from '@angular/core';
  3. import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
  4. import { AppRoutingModule } from './app-routing.module';
  5. import { AppComponent } from './app.component';
  6. import {ToastaModule} from 'ngx-toasta';
  7.  
  8.  
  9. import { UserService } from "./shared/user.service";
  10.  
  11.  
  12. @NgModule({
  13.   declarations: [
  14.     AppComponent,
  15.     NavbarComponent,
  16.     UserinvComponent,
  17.     BotinvComponent,
  18.     HomeComponent,
  19.     TradebarComponent
  20.   ],
  21.   imports: [
  22.     BrowserModule,
  23.     BrowserAnimationsModule,
  24.     AppRoutingModule,
  25.     ToastaModule.forRoot()
  26.   ],
  27.   providers: [UserService],
  28.   bootstrap: [AppComponent]
  29. })
  30. export class AppModule {
  31. constructor(){  
  32.   }
  33. }