Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// Import 3rd party components
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
import { TabsModule } from 'ngx-bootstrap/tabs';
import { ChartsModule } from 'ng2-charts/ng2-charts';
import { ErrorInterceptor, JwtInterceptor } from './interceptors';
import { AuthenticationService } from './services';
import { AuthGuard } from './guards';
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
@NgModule({
imports: [
HttpClientModule,
BrowserModule,
AppRoutingModule,
AppAsideModule,
AppBreadcrumbModule.forRoot(),
AppFooterModule,
AppHeaderModule,
AppSidebarModule,
FormsModule,
ReactiveFormsModule,
PerfectScrollbarModule,
BsDropdownModule.forRoot(),
TabsModule.forRoot(),
ChartsModule,
],
declarations: [AppComponent, ...APP_CONTAINERS, P404Component, P500Component, LoginComponent, RegisterComponent],
providers: [
{
provide: LocationStrategy,
useClass: HashLocationStrategy,
},
const ngWizardConfig: NgWizardConfig = {
theme: THEME.default
};
@NgModule({
declarations: [
...APP_CONTAINERS,
],
imports: [
RouterModule,
NgxUiLoaderModule,
//NgxUiLoaderRouterModule, // import this module for showing loader automatically when navigating between app routes
NgxUiLoaderHttpModule.forRoot({ showForeground: false }),
ToastrModule.forRoot({ positionClass: 'toast-top-full-width', closeButton: true }),
AppAsideModule,
AppBreadcrumbModule.forRoot(),
AppFooterModule,
AppHeaderModule,
AppSidebarModule,
PerfectScrollbarModule,
BsDropdownModule.forRoot(),
TabsModule.forRoot(),
NgWizardModule.forRoot(ngWizardConfig),
],
exports: [
RouterModule,
HttpClientModule,
NgxUiLoaderModule,
NgWizardModule,
LayoutComponent,
],
providers: [
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
import { TabsModule } from 'ngx-bootstrap/tabs';
import { ChartsModule } from 'ng2-charts/ng2-charts';
import { ErrorInterceptor, JwtInterceptor } from './interceptors';
import { AuthenticationService } from './services';
import { AuthGuard } from './guards';
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
@NgModule({
imports: [
Module,
HttpClientModule,
BrowserModule,
AppRoutingModule,
AppAsideModule,
AppBreadcrumbModule.forRoot(),
AppFooterModule,
AppHeaderModule,
AppSidebarModule,
FormsModule,
ReactiveFormsModule,
PerfectScrollbarModule,
BsDropdownModule.forRoot(),
TabsModule.forRoot(),
ChartsModule,
],
declarations: [AppComponent, ...APP_CONTAINERS, P404Component, P500Component, LoginComponent, RegisterComponent],
providers: [
{
provide: LocationStrategy,
useClass: HashLocationStrategy,
},
SuccessComponent,
TriggerServiceComponent,
MailSuccessComponent,
ReleaseConfigsComponent,
ServicePortalComponent,
ManageEnvironmentComponent,
CreateLicenseComponent,
NotificationInfoComponent,
CreateOrganizationComponent,
],
imports: [
BrowserModule,
BrowserAnimationsModule,
DateTimePickerModule,
AppAsideModule,
AppBreadcrumbModule.forRoot(),
AppFooterModule,
AppHeaderModule,
AppSidebarModule,
PerfectScrollbarModule,
CookieModule.forRoot(),
HttpModule,
Ng2TableModule,
AngularMultiSelectModule,
FormsModule,
CommonModule,
MomentModule,
PaginationModule.forRoot(),
TranslateModule.forRoot(
{
loader: {
provide: TranslateLoader,