Use this tag for questions related to Angular 2 Services, which are JavaScript functions responsible for performing a single task.
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-injectionI've been following this tutorial, to understand lazy loading, and below is my inference. Scenario 1: Services are provided by putting …
angular angular2-services angular2-modules angular2-providersI'm getting a No Provider for FirebaseService error even after bootstrapping the FirebaseService in the bootstrap(app, [providers]) method. I …
angular angular2-servicesI 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-servicesI am trying to return an observable after a successful completion of my Promise, but that function is not returning …
angular ionic2 angular2-servicesI'm trying to extent angular 2 http class to be able to handle global errors and set up headers for my …
angular angular2-servicesI am using ngx-progressbar bar in Angular 2 application. When app loading first it is working fine. second time it is …
angular angular2-servicesWhat is the difference between EventEmitter.emit() and EventEmitter.next()? Both dispatching the event to the subscribed listeners. export class …
angular angular2-servicesI have been trying to figure out how the (DI) Dependency Injection work in Angular2. I ran into lots of …
angular angular2-services angular2-diI understand that provider is for getting service from another class but what is multi-provider and token thing? And also …
angular angular2-directives angular2-services angular2-forms