Now API Base must be copied on each change manually and also very hard to understand/manipulate. The API Base will be moved inside the template (angular 2 in this case) and copied on each compilation automatically. This also will provide an awesome feature: You don't have to upgrade manually those files!