Top "Angular2-injection" questions

Getting instance of service without constructor injection

I have a @Injectable service defined in bootstrap. I want to get the instance of the service without using constructor …

angular angular2-di angular2-injection
How to call component method from service? (angular2)

I want to create service, which can interact with one component. All another components in my app, should be able …

angular typescript angular2-services angular2-components angular2-injection
Angular 2 HTTP "Cannot resolve all parameters for 'AppService'"

I tried to import the http provider into a service, but I'm getting the following error: Cannot resolve all parameters …

typescript angular systemjs angular2-services angular2-injection
Testing - Can't resolve all parameters for (ClassName)

Context I created an ApiService class to be able to handle our custom API queries, while using our own serializer + …

angular karma-jasmine angular2-services angular2-testing angular2-injection
Angular 2 service not being injected into component

I have a service defined in my Angular2 (2.0.0-beta.0) application. It's something like this: import {Injectable} from "angular2/core"; @Injectable() …

typescript angular angular2-injection angular2-services