Angular 7 Get Base Url. e http://localhost:4200/myApp using angular 5 features. subscribe ( t