馃悶 bug report
Affected Package
The issue is caused by package @angular/core
Is this a regression?
I don't think so, tested on Angular 7 and 8
Description
Through `read` option of `ViewChild` we are able to retrieve services from Injector, for example if we add some service to our component's providers, we can read it. We can also read `ElementRef`, for example. However, we cannot retrieve `ChangeDetecotrRef`. We are getting undefined.
馃敩 Minimal Reproduction
https://stackblitz.com/edit/angular-read-cdr
馃實 Your Environment
Angular Version:
馃悶 bug report
Affected Package
The issue is caused by package @angular/coreIs this a regression?
I don't think so, tested on Angular 7 and 8Description
Through `read` option of `ViewChild` we are able to retrieve services from Injector, for example if we add some service to our component's providers, we can read it. We can also read `ElementRef`, for example. However, we cannot retrieve `ChangeDetecotrRef`. We are getting undefined.馃敩 Minimal Reproduction
https://stackblitz.com/edit/angular-read-cdr馃實 Your Environment
Angular Version: