Top "Angular2-services" questions

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

How to print object properties in template in Angular2

I am new to angular2, And trying to bind object result to the html template. I am able to get …

angular angular2-template angular2-forms angular2-services angularjs-templates
How to create the common notification with ngx-bootstrap like toaster notification

I am new to angular 2& 4. I want to create the custom notification with ngx-bootstrap alerts and modal. I have …

angular push-notification angular2-services
Async initialization of Angular 2 service

I have an Angular 2 service that needs to do async work when it is initalized, and should not be usable …

typescript angular angular2-services
Passing Data from Service to Component

Before someone mark this as duplicate Below are the links that I tried and failed Angular 2 - passing data from …

angular angular2-services angular2-components
Angular 2 call service only on app initialization

What I am trying to accomplish is to call external API only once per app initialization. I have a simple …

angular angular2-services angular2-injection
Angular2 + RxJS BehaviorSubject subscription not working on all components

I'm trying to make some sort of communication between my components, so I'm using a service with a BehaviorSubject and …

angular rxjs angular2-services behaviorsubject
Angular 2 Header component Title change dynamically according to the state

I have a design using angular 2 where header component, navigation bar component and body component where all other components load. …

angular angular2-routing angular2-services angular2-components ngcomponentrouter
Using an Angular 2 http.post without subscribing? Or am I thinking of it wrong?

Is there a way to just tell the server to update data without subscribing? Skipping a return statement and a …

angular http-post observable angular2-services