Top "Angular2-services" questions

Use this tag for questions related to Angular 2 Services, which are JavaScript functions responsible for performing a single task.

property 'forkJoin' does not exist on type 'typeof observable' - angular2

I was looking to experiment with a forkJoin mainly using the accepted answer here: Angular2 Observable.forkJoin of observable variables …

angular angular2-services
Angular 4 : how to pass an argument to a Service provided in a module file

I'm calling to you for help on what method to use here : I have tested many things to solve my …

angular angular2-services
Pass config data using forRoot

I am trying to pass config data into a custom library in Angular. In the users application, they will pass …

angular typescript angular2-services angular2-aot
Bind a service property to a component property with proper change tracking

Consider the utterly simple Angular 2 service: import { Injectable } from '@angular/core'; import {Category} from "../models/Category.model"; @Injectable() export …

angular angular2-services
Angular http.post without .subscribe callback

I'm wondering if I can make just a http post request without subscribing on callbacks, something like this this._http.…

angular typescript angular2-services
Angular 2 - multiple instance of service created

I have created AngularJS 2 service and use it in 2 differents components : App-Component & Sub-Component. Each one output property 'log' (a …

angular angular2-services
Can lazy-loaded modules share the same instance of a service provided by their parent?

I've just run into a problem with a lazy-loaded module where parent and child module both require the same service …

angular angular2-services
Angular2 - 'Can't resolve all parameters' error while injecting http into a custom service

I have built an ErrorHandlerLogger which is a service which extends ErrorHandler and logs error messages into a remote repository. …

angular angular2-services angular2-modules
Handling 204- No Content response in HTTP Observable - Angular2

In my Angular2 application, I am taking responses from a REST API and manipulating them in order to display them …

angular angular2-services angular2-http angular2-observables
Typescript getter and setter error

Ok it's my first day doing some Angular 2 using typescript and I am try to make a simple getter and …

typescript angular angular2-services