Top "Angular-services" questions

Angular services are substitutable objects that are wired together using dependency injection.

Angular redirect to home on refresh

What's the best way to direct a user to the home page if they happen to refresh from any other …

angularjs angularjs-directive angular-ui-router angular-services
Angular 4 Subscribing to observable is not updating after change

I have a service with an observable which is being subscribed to via a component. This seems to work as …

angular angular-services angular-components angular-observable
Angular 5 Http Interceptor don't detect response header (POST)

I'm not able to get the custom response header in interceptor when i console log it. console logged the interceptor …

angular angular5 angular-services angular-http-interceptors
Angular Service singleton constructor called multiple times

I am trying to use an app-wide service (UserService) that stores authenticated user details. I have set up some routes …

angular typescript angular-services angular-router angular-module
Angular2 - How to initialize data inside a service?

I have two services. login.service.ts and environment-specific.service.ts. In login.service.ts I need to initialize a …

angular angular-services
What does the app.module.ts file serve for, what should I do inside of it?

I'm getting used to Angular 2 but I have a few questions concerning the app.module.ts file. Why do I …

angular import angular-services angular-module
Make sure a service is instantiated

Background We're building an Angular2 app, and are accumulating a lot of specific services relating to one module. All these …

angular dependency-injection angular-services
angular2 toaster - No Toaster Containers have been initialized to receive toasts

i am using angular2-toaster in my angular app it is very simple, you define toaster container in the template …

angular typescript angular-services angular2-toaster