Created
August 4, 2020 02:05
-
-
Save a11smiles/15b09aa60c6a4578e6bf957d0c43dcea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit } from '@angular/core'; | |
import { GoogleAnalyticsService } from './google-analytics.service'; | |
@Component({ | |
selector: 'app-root', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.scss'] | |
}) | |
export class AppComponent implements OnInit { | |
title = 'Google Analytics Service'; | |
constructor(private _$gaService: GoogleAnalyticsService) { } | |
ngOnInit() { | |
this._$gaService.init(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment