The problem is with injected function, for example if i have template model: [ { "{{#if hasValue(data)}}": { name: "{{name}}", }, }, { "{{#else}}": undefined, }, ], if data property exists in model, the evaluation work well, but if transform other data, where property "data" not exists, hasValue not evaluated.