このような単純なハンドルバーを挿入しようとしていますが、サポートがほとんどなく、公式ページのガイドがあまりにも悲しいので、これを達成できませんでした.
<head>
<!--HANDLEBAR-->
<script type="text/x-handlebars" data-template-name="say-hello">
Hello, <b>{{name}}</b>
</script>
<!--VIEW-->
<script>
var view = Ember.View.create({
templateName: 'say-hello',
name: "Bob",
});
view.appendTo('#templateHere'); //here I try to append the view
</script>
firebug でエラーが表示されます: テンプレート "say-hello" が見つかりません........しかし、なぜ見つからないのかわかりません