Rendering a component works well when using {{component-name}}
in template. I want to render a component from route with dynamic parameters. I've tried this
App.ApplicationRoute = Ember.Route.extend({
init: function(){
this.render("components/comp-two", {
into: "application",
outlet: "test"
});
}
});
It successfully renders a template, but component's events(init, didInsertElement) and actions don't work.
How to make events and actions work ?
example: http://emberjs.jsbin.com/badaku/1/