angular wait for viewchild to load code example
Example: view child with directive not working undefined
// dont user the value on ngOnInit(), use inside ngAfterViewInit() instead
ngAfterViewInit() {}
// dont user the value on ngOnInit(), use inside ngAfterViewInit() instead
ngAfterViewInit() {}