Re: [AngularJS] Angular 2: Can't resolve all parameters for NotificationsService: (?, ?).

2016-07-05 Thread 'Lucas Lacroix' via AngularJS
I think you're missing the FindService in your providers that are passed to bootstrap. I do not see it referenced. As long as a provider is specified for each injectable, this should work. On Tue, Jul 5, 2016 at 10:39 AM, HisDivineShadow < buddy.ackerman...@gmail.com> wrote: > So, after some fur

Re: [AngularJS] Angular 2: Can't resolve all parameters for NotificationsService: (?, ?).

2016-07-05 Thread HisDivineShadow
So, after some further reading I found that the parent component (i.e. the app component in this case) needs to have a provider for the injected service specified in any classes that are used within the component (even if they are services that are use indirectly like mine is). So, I added the

Re: [AngularJS] Angular 2: Can't resolve all parameters for NotificationsService: (?, ?).

2016-07-05 Thread 'Lucas Lacroix' via AngularJS
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 < buddy.ackerman...@gmail.com> wrote: > I get this error loading my app. I'm injecting the NotificationsService > into my app comp

[AngularJS] Angular 2: Can't resolve all parameters for NotificationsService: (?, ?).

2016-07-05 Thread HisDivineShadow
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/f