ngOnInit() {
this.addressesService.getRegions().subscribe((resp) => {
this.regions = resp.data.items;
this.loading = true;
}, (error) => {
console.log(error);
});
this.addressesService.getObj().subscribe((resp) => {
this.district = resp.data;
}, (error) => {
console.log(error);
});
// other code
}