removed parentModel and use router.templateInstance.model instead