I've got an angular app (TypeScript) setup where a parent component contains another child component within. City component (child) makes an Ajax request to load data (cities) which takes approx 2 secs.
@Component({
providers: [UserService],
template: `<city [city]='user.city' (citySelected)="user.city = $event"></city>`
})
export class FormComponent implements OnInit{
private user:User = new User();
....
Problem, I require the city component to load first before the parent component.
ngOnInit()? - Searching