Use this tag for questions related to Angular 2 Services, which are JavaScript functions responsible for performing a single task.
Angular2 rc.6 I am getting following error when running a loop on json data core.umd.js:5995 EXCEPTION: Error in …
angular angular2-servicesI'm trying to get the updated value from a service variable (isSidebarVisible) which is keeps on updated by another component (…
angular angular2-servicesI'm am trying to use withCredentials to send a cookie along to my service but can't find out how to …
angular angular2-services angular2-httpI need to get the status code of the following http call and return it as a string //This method …
angular typescript angular2-services http-status-codesI have a form in my angular 2 Project. I know how to Retrieve data from the API. But don't know …
angular angular2-forms angular2-servicesI have a settings page where users can save some config variables, such as a Username. The user can also …
angular angular2-servicesI have watch a few courses on Angular and have found there are different ways to manage data from an …
angularjs angular angular2-servicesimport { Headers, Http } from '@angular/http'; @Injectable() export class PublisherService{ private publishersUrl = 'app/publisher'; constructor(private http: Http) { } getPublishers(): …
angular typescript rxjs angular2-servicesAngular version: 2.0.0-beta.13 I am trying to inject http into a service: @Injectable() export class GithubService { ... constructor(private http: Http) { } } …
angular angular2-servicesI have the following config object which is set before the constructor is running: config: Object = { onSlideChangeEnd : function(slide:any) { …
angular angular2-services