inject Angulartics2GoogleAnalytics

This commit is contained in:
Kyle Spearrin 2018-07-18 12:57:20 -04:00
parent 19fa769bd3
commit 9d5b9f0bde
1 changed files with 3 additions and 2 deletions

View File

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