1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-10 09:49:53 +01:00
bitwarden-desktop/src/app/app.module.ts
2018-01-29 09:33:43 -05:00

67 lines
2.3 KiB
TypeScript

import 'core-js';
import 'zone.js/dist/zone';
import { Angulartics2Module } from 'angulartics2';
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
import { AppRoutingModule } from './app-routing.module';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { ServicesModule } from './services/services.module';
import { ToasterModule } from 'angular2-toaster';
import { AddEditComponent } from './vault/add-edit.component';
import { AppComponent } from './app.component';
import { BlurClickDirective } from './directives/blur-click.directive';
import { CiphersComponent } from './vault/ciphers.component';
import { FallbackSrcDirective } from './directives/fallback-src.directive';
import { GroupingsComponent } from './vault/groupings.component';
import { I18nPipe } from './pipes/i18n.pipe';
import { IconComponent } from './vault/icon.component';
import { LoginComponent } from './accounts/login.component';
import { ModalComponent } from './modal.component';
import { PasswordGeneratorComponent } from './vault/password-generator.component';
import { StopClickDirective } from './directives/stop-click.directive';
import { StopPropDirective } from './directives/stop-prop.directive';
import { VaultComponent } from './vault/vault.component';
import { ViewComponent } from './vault/view.component';
@NgModule({
imports: [
BrowserAnimationsModule,
FormsModule,
AppRoutingModule,
ServicesModule,
Angulartics2Module.forRoot([Angulartics2GoogleAnalytics], {
pageTracking: {
clearQueryParams: true,
},
}),
ToasterModule,
],
declarations: [
AddEditComponent,
AppComponent,
BlurClickDirective,
CiphersComponent,
FallbackSrcDirective,
GroupingsComponent,
I18nPipe,
IconComponent,
LoginComponent,
ModalComponent,
PasswordGeneratorComponent,
StopClickDirective,
StopPropDirective,
VaultComponent,
ViewComponent,
],
entryComponents: [
ModalComponent,
PasswordGeneratorComponent,
],
providers: [],
bootstrap: [AppComponent],
})
export class AppModule { }