Top "Angular2-observables" questions

How to make synchronous call in Angular 4 in component method

I have an Angular 4 login Application. I have written accessing logic in login.cmponent.ts file and accessing my login.…

angular typescript angularjs-directive angular2-observables
Setting an observable variable in angular 2

What we want to do is call an endpoint from a url which returns 2 variables which can be used on …

javascript angular rxjs angular2-observables
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
'Error' message: 'Property 'from' does not exist on type 'typeof Observable'

I am trying to learn reactive programming using RxJS. I was trying to create an observable from an array using …

angular typescript rxjs observable angular2-observables
RxJs looping over returned array

Is there a better way using RxJS operators to loop over an array returned from an observable than this to …

angular rxjs angular2-observables rxjs-pipeable-operators
How to mock a observable stream while testing angular2 components?

I am writing test cases for angular2 components. I had created a service which uses observable stream as below: import {…

angular jasmine angular2-testing angular2-observables
Observable.forkJoin with a for loop

I am trying to populate an array in my component called processes which is an array of process. Each process …

javascript angular observable angular2-observables
subscribe not a function error in angular 2

I have created a service to fetch search results. The function name is getSearchResults which is used to fetch the …

angular angular2-observables
Angular 6 how to pipe http call

I have a HTTP service, which uses HttpClient to make API calls: //provider.service.ts export interface Lesson { id?: number, …

angular angular2-observables
Calling another observable with the response of another in Angular 4

I am writing an Angular 4 application using HttpClient that displays movie show times. There are 2 JSON files where the data …

angular typescript rxjs observable angular2-observables