added viewContainerEle parameter to constructor