Configure URL from server before http-request in Angular

Posted on August 16, 2017
Angular  Typescript 
Configure URL from server before http-request in Angular header image

For an angular application which is deployed inhouse to several customers, the application has to figure out, where the backend server exists.

Setting the url in the environment was not useful, as each customer needs his own url and this would end up in big build scripts.

Also the customer could not reorganize the server names on his own, without breaking the application if he chooses to change the server name.

Read More

Angular ControlValueAccessor by example

Posted on August 8, 2017
Angular  Typescript 
Angular ControlValueAccessor by example header image

The ControlValueAccessor is Angulars interface to interact with a form control.

At sLAB we currently develop an angular client for the sMOTIVE product. We wanted to extend some form controls with own behavior and had some issues with the ControlValueAccessor.

Read More

Migrating to Angular

Posted on March 18, 2017
Angular  Typescript 
Migrating to Angular header image

Introducing Angular 2 as Backend SPA for website.

As my company decides to evaluate Angular 2 as our new framework to build our web application, I thought it would be a good experience to migrate one of my own projects to Angular 2.

Read More