Frequently I need the ability to insert miscellaneous components into the DOM. e.g. Modals, Tooltips etc…
If you try to appendTo the application view, Ember won’t let you.
I’ve seen some people appendTo the
rootElement, which works - but then your component is ‘sitting outside’ of your app (which creates problems when running acceptance tests).
I’ve come up with this: http://jsbin.com/yicuta/7/edit?html,js,output
Essentially, I’m looking for feedback as to whether I’ve lost my way… because its quite a convoluted process for something which should be trivial.
Are there any other techniques out there?