Hi
You need to inject the zone, like this, to be able to use it:
import { Injectable, NgZone } from '@angular/core';
@Injectable()
export class LogAbcService {
constructor (private zone: NgZone) {}
public log(): void {
console.log(this.zone);
}
}
You can then access what is available from it.
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.