1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-09 09:51:02 +01:00

inject Angulartics2GoogleAnalytics

This commit is contained in:
Kyle Spearrin 2018-07-18 12:57:20 -04:00
parent 19fa769bd3
commit 9d5b9f0bde

View File

@ -4,10 +4,10 @@ import { SweetAlert } from 'sweetalert/typings/core';
import {
ToasterConfig,
ToasterContainerComponent,
ToasterService,
} from 'angular2-toaster';
import { Angulartics2 } from 'angulartics2';
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
import {
Component,
@ -60,7 +60,8 @@ export class AppComponent implements OnDestroy, OnInit {
private lastActivity: number = null;
constructor(private broadcasterService: BroadcasterService, private userService: UserService,
constructor(private angulartics2GoogleAnalytics: Angulartics2GoogleAnalytics,
private broadcasterService: BroadcasterService, private userService: UserService,
private tokenService: TokenService, private folderService: FolderService,
private settingsService: SettingsService, private syncService: SyncService,
private passwordGenerationService: PasswordGenerationService, private cipherService: CipherService,