viewchild argument for opts not provided code example Example: angular viewchild an argument for opts was not provided @ViewChild(ChildDirective, {static: false}) Component