I have a @Injectable service defined in bootstrap. I want to get the instance of the service without using constructor …
angular angular2-di angular2-injectionI 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-injectionI 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-injectionContext 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-injectionI 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-servicesWhat I am trying to accomplish is to call external API only once per app initialization. I have a simple …
angular angular2-services angular2-injection