ngOnInit(){
this.serverService.getStations()
.subscribe(
(data: any[]) => {
console.log(data.map((item) => item.city)
this.stations = data.map((item) => item.city)
}),
(error) => console.log(error)
);
}
rightStations (control: FormControl): {[s: string]: any}{
return this.Stations.indexOf(control.value) !== -1 ? {'rightStationsIs': true} : null
}