Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
ContributorsComponent,
pipe,
GetFirstWord
],
imports: [
FormsModule,
MDBBootstrapModule.forRoot(),
NgbModule.forRoot()
]
})
.compileComponents();
}));
ProjectsComponent,
NavbarComponent,
FooterComponent,
ContactComponent,
FAQComponent,
NewcomersComponent,
ContributorsComponent,
pipe,
GetFirstWord,
ProgramsComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
HttpModule,
MDBBootstrapModule.forRoot(),
FormsModule,
AppRoutingModule,
HttpClientModule,
NgbModule.forRoot(),
AgmCoreModule.forRoot({
apiKey: 'Your_api_key'
})
],
providers: [CommonService, IssueService],
bootstrap: [AppComponent],
schemas: [ NO_ERRORS_SCHEMA ]
})
export class AppModule { }
@NgModule({
declarations: [
AppComponent,
OptionsComponent,
PopupComponent,
BackgroundComponent,
NavbarComponent
],
imports: [
BrowserModule,
AppRoutingModule,
ReactiveFormsModule,
CollapseModule.forRoot(),
MDBBootstrapModule.forRoot()
],
schemas: [ NO_ERRORS_SCHEMA],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
import { AdminGaurd } from "./services/admin-gaurd";
import { AuthGuard } from "./services/auth_gaurd";
import { AuthService } from "./services/auth.service";
import { UserService } from "./services/user.service";
import { TranslatePipe } from "./pipes/translate.pipe";
import { NgxContentLoadingModule } from "ngx-content-loading";
import { CardLoaderComponent } from "./components/card-loader/card-loader.component";
import { MomentTimeAgoPipe } from "./pipes/moment-time-ago.pipe";
import { DragDropModule } from "@angular/cdk/drag-drop";
import { ScrollingModule } from "@angular/cdk/scrolling";
import { CdkTableModule } from "@angular/cdk/table";
import { CdkTreeModule } from "@angular/cdk/tree";
@NgModule({
imports: [
CommonModule,
MDBBootstrapModule.forRoot(),
AngularFireModule.initializeApp(FireBaseConfig),
AngularFireDatabaseModule,
AngularFireAuthModule,
FormsModule,
HttpClientModule,
RouterModule,
OwlModule,
NgxPaginationModule,
AgmCoreModule.forRoot({
apiKey: "AIzaSyDMbxW3MlwUP2vrAZVJyu7pYqZa1LthvTE"
}),
NgxContentLoadingModule
],
declarations: [
NoProductsFoundComponent,
FilterByBrandPipe,
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ProjectsComponent ],
imports: [
MDBBootstrapModule.forRoot(),
NgbModule.forRoot()
]
})
.compileComponents();
}));
SmallCartComponent,
LoginComponent,
RegisterComponent,
PaypalCheckoutComponent,
OrderConfirmationComponent,
AccountComponent,
CheckoutComponent,
CheckoutNavbarComponent,
ReviewComponent,
CustomerInfoComponent,
PaymentInfoComponent
],
imports: [
BrowserModule,
AppRoutingModule,
MDBBootstrapModule.forRoot(),
HttpClientModule,
FormsModule,
ReactiveFormsModule,
BrowserAnimationsModule,
NgbToastModule,
ToastrModule.forRoot(),
NgxPayPalModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
LoginComponent,
FeedComponent,
AddPollComponent,
TopbarComponent,
ProfileComponent,
MyPollsComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule,
AngularFireModule.initializeApp(firebaseConfig),
AngularFireDatabaseModule,
AngularFireAuthModule,
routing,
MDBBootstrapModule.forRoot()
],
schemas: [ NO_ERRORS_SCHEMA ],
providers: [AuthenticationService],
bootstrap: [AppComponent]
})
export class AppModule { }
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ContactComponent ],
imports: [
MDBBootstrapModule.forRoot(),
]
})
.compileComponents();
}));
SearchTableComponent,
ModalBasicComponent,
ModalAdvancedComponent,
ModalEventsComponent,
ModalFormsComponent,
ModalStylesComponent,
MapsComponent,
CssMainComponent,
HoverComponent,
ShadowsComponent,
MasksComponent,
PaginationApiComponent
],
imports: [
BrowserModule.withServerTransition({ appId: 'serverApp' }),
MDBBootstrapModule.forRoot(),
RoutesModule,
FormsModule,
BrowserAnimationsModule,
ReactiveFormsModule,
AgmCoreModule.forRoot({}),
HttpModule
],
providers: [SharedService],
bootstrap: [AppComponent]
})
export class AppModule { }
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ NewcomersComponent ],
imports: [
MDBBootstrapModule.forRoot(),
NgbModule.forRoot()
]
})
.compileComponents();
}));