GitLab steht aufgrund wichtiger Wartungsarbeiten am Montag, den 8. März, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Adds missing providedIn declaration for services

parent 4b523b91
import { isPlatformBrowser, LocationStrategy, PathLocationStrategy } from '@angular/common';
import { ErrorHandler, Inject, Injectable, Injector, PLATFORM_ID } from '@angular/core';
@Injectable()
@Injectable({ providedIn: 'root' })
export class GlobalErrorHandler implements ErrorHandler {
private _errorMap = [];
......
......@@ -6,7 +6,7 @@ import { INamedType } from '../../lib/interfaces/interfaces';
declare var _paq: any;
@Injectable()
@Injectable({ providedIn: 'root' })
export class ArsnovaClickAngulartics2Piwik extends Angulartics2Piwik {
constructor(private _angulartics2: Angulartics2, private route: ActivatedRoute) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment