Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
@NgModule({
declarations: [
AppComponent,
ErrorComponent
],
imports: [
ChatModule,
BrowserModule,
HttpClientModule,
AppRoutingModule,
MatCardModule,
MatButtonModule,
MatIconModule,
BrowserAnimationsModule,
MatProgressButtonsModule.forRoot(),
SharedModule,
NgxsStoreModule,
LoggerModule.forRoot({
serverLoggingUrl: '',
level: environment.production ? NgxLoggerLevel.OFF : NgxLoggerLevel.DEBUG,
serverLogLevel: NgxLoggerLevel.OFF
}),
ToastrModule.forRoot(),
ClipboardModule,
// Portal Module Sections
CoreModule.forRoot(),
EmojiPickerModule.forRoot(),
TranslateModule.forRoot(
{
import { LoginComponent } from './login/login.component';
import { AuthService } from 'app/services/auth.service';
import { MatCardModule, MatButtonModule } from '@angular/material';
import { StorageService } from 'app/services/storage.service';
import { MatProgressButtonsModule } from 'mat-progress-buttons';
@NgModule({
declarations: [
LoginComponent
],
imports: [
CommonModule,
AccountRoutingModule,
MatCardModule,
MatButtonModule,
MatProgressButtonsModule.forRoot(),
],
providers: [AuthService, StorageService]
})
export class AccountModule { }
import typescript from 'highlight.js/lib/languages/typescript';
import { HomeRoutingModule } from './home-routing.module';
import { HomeComponent } from './home.component';
import {MatButtonModule, MatTabsModule, MatToolbarModule, MatTooltipModule} from '@angular/material';
export function hljsLanguages() {
return [
{name: 'typescript', func: typescript},
];
}
@NgModule({
imports: [
CommonModule,
BrowserAnimationsModule,
MatProgressButtonsModule.forRoot(),
HighlightModule.forRoot({languages: hljsLanguages}),
HomeRoutingModule,
MatButtonModule,
MatTabsModule,
MatToolbarModule,
MatTooltipModule
],
declarations: [HomeComponent],
})
export class HomeModule { }