i'm having some trouble designing an EmberJS layout. I have a view divided in two parts :
- a content library on the left
- a playlist editor on the right
Currently, those two elements share the same controller.
I can't figure how to use two different controllers for those two sides to be able to re-use the content library in other views or even having a view with two playlist editors.
My root view looks like this so far :
<script type="text/x-handlebars" data-template-name="playlists">
<div id="library">{{template library}}</div>
<div id="playlistEditor">{{template playlisteditor}}</div>
</script>
I saw docs about the {{control}}
helper, but it is unstable and i'm not sure this is what i'm looking for.
Thanks !