inject parent object into child template