I get this error loading my app. I'm injecting the NotificationsService
into my app component. The NotificationsService injects the FindService which
also has a constructor that injects the AuthService.
import { AuthService } from '../authservice';
import {FindService} from '../findservice/find-service'
export class NotificationsService {
constructor(private authSvc: AuthService, private findSvc: FindService) { }
getNotifications() {
if (this.authSvc.isLoggedin) {
//do some stuff to get randomList
return randomList;
}
return [];
}
}
import { Injectable } from '@angular/core';
import { AuthService } from '../authservice';
@Injectable()
export class FindPropertyService {
constructor(private authSvc: AuthService) {}
}
--
You received this message because you are subscribed to the Google Groups
"AngularJS" 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.