Binding context for component with inline template


#1

I noticed that when I define a template as a block, the context of {{this}} is different from when the component has it’s own template

If I do this:

{{#foo-bar}}
  {{this}}
{{/foo-bar}}

It renders out the controller. If the same handlebars markup is contained in its own template it renders out the component. You can see an example here: http://jsfiddle.net/NQKvy/810/

Is it supposed to work like this? Kind of a annoying really because I want to use an inline template but I want it to be bound to the component, not the controller.