fix(ivy): element injector on the host of a component should see viewProviders of that component (#27928)

PR Close #27928
This commit is contained in:
Marc Laval
2019-01-04 15:38:40 +01:00
committed by Kara Erickson
parent 5d3dcfc6ad
commit fb7816fed4
3 changed files with 46 additions and 32 deletions

View File

@ -60,7 +60,7 @@ import {findComponentView, getParentInjectorIndex, getParentInjectorView, hasPar
*
* ```
*/
let includeViewProviders = false;
let includeViewProviders = true;
function setIncludeViewProviders(v: boolean): boolean {
const oldValue = includeViewProviders;