If I add below code in my index.html then it's working fine but I want to define in external file and then I want to load it with can.view
.
<script type="text/mustache" id="todosList">
{{#todos}}
<li>{{description}}</li>
{{/todos}}
</script>
If I create separate html file how do I load a template from it?
This is the syntax to load external template in canJS.