javascript - EmberJS multiple controllers on one page -


is possible have multiple controllers on 1 route / page. want show 2 features of application on 1 page. not directly related each need it's own controller, model , (partial) view.

but can't seem figure out how this.

it seems must use {{render}} option here.

is possible have subdirectory structure here?

when have {{render "dashboard.users"}} template in template/dashboard/users.hbs controller can't seem find looks , naming conventions should be.

e.g. should

app.dashboarduserscontroller = ... ? 

edit:

looks should be, shouldn't place in subfolder of controllers name dashboard_users_controller.js

you effect rendering templates multiple outlets of parent template: guide , api docs

here running jsbin demonstrating it


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -