Use this tag for questions related to Angular 2 Services, which are JavaScript functions responsible for performing a single task.
I have a constant file export class constants { public static get API_ENDPOINT(): string { return 'https://dvelopment-server/'; } } And I …
angular angular2-servicesIn my application, I have two different bootstrap module (@NgModule) running independently in one application. There are not one angular …
angular angular2-services angular2-modulesWhile coding an app with Angular 2 and multiple calculation services I faced the following questions: When do I use static …
javascript angular typescript angular2-servicesI am trying to export an Service from one of my modules but i only get the following error: ERROR …
angular angular2-servicesI need to use the FileSaver.js (https://github.com/eligrey/FileSaver.js/) in my Angular2 application. I know I …
angular angular2-directives angular2-services filesaver.jsHow to configure and make a https request from angular 2? Couldn't find any resources on it. Can please someone guide …
angular https angular2-services angular2-httpI want to create service, which can interact with one component. All another components in my app, should be able …
angular typescript angular2-services angular2-components angular2-injectionI was following this sample from https://angular.io/docs/ts/latest/guide/router.html and I am trying to …
angular angular2-servicesI have a service that fetches data via the HTTP service and returns an observable object. After the first call …
angular observable angular2-servicesI was trying to figure out how to get a menu to appear and disappear based on being logged in …
angular angular2-services