fix(appRun): implement $templateCache#put for examples to prevent NPEs