/**
 * @license
 * Copyright Akveo. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */
import { Component, OnInit } from '@angular/core';
import { AnalyticsService } from './@core/utils/analytics.service';
import { LoginApiService } from './frontcraft/services/login-api';

@Component({
  selector: 'ngx-app',
  template: '<router-outlet></router-outlet>',
})
export class AppComponent implements OnInit {

  constructor(private loginSvc: LoginApiService, private analytics: AnalyticsService) {
    
  }

  ngOnInit(): void {
    this.analytics.trackPageViews();
 
    window['s'] = this.loginSvc
  }
}
