When utilizing this code within any component:
@ContentChild(TemplateRef) public myTemplate: TemplateRef<any>;
It functions properly in Angular 2, I can access it with:
this.myTemplate
However, after downgrading the component to make it compatible with AngularJS 1.6.2, the value is:
this.myTemplate // undefined
Do I need to make any adjustments during the downgrade process? Is there something specific that needs to be added to my constructor?