My app is written with aurelia. This uses systemjs and modules are isolated (no globals). I need to use a helper in one of my kendo template but loading the helper module returns a promise. By the time the promise resolves kendo has already executed the template (blank).
Is there a way to tell kendo to wait ?
<script type="text/x-kendo-template"> <div> # System.import('template-helpers').then(function(module){ var h = new module.TemplateHelper(); h.format(data) }); # </div></script>