`can.view(path)` returns a render function. I think it depends on the
exact CanJS version but you either want:
- <%== can.view('//myapp/viewtemplates/myremplate')(this) %>
or
- <%== can.view('//myapp/viewtemplates/myremplate').render(this) %>
"this" contains the
template variables, so you can replace with a more explicit
set of variables.
BTW you should use mustache
or stache templates, ejs is being deprecated and has some
issues with live-binding.