I do not see your component with it's list of providers nor do I see your bootstrap call with the list of providers.
On Tue, Jul 5, 2016 at 10:04 AM, HisDivineShadow < [email protected]> wrote: > 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. > -- Lucas Lacroix Computer Scientist System Technology Division, MEDITECH <http://ehr.meditech.com> 781-774-2293 -- 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.
