viewchild undefined in afterviewinit 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() {}