Two ember applications in the same page
by anshulguleria
HTML
<script src="https://github.com/downloads/wycats/handlebars.js/handlebars-1.0.0.beta.6.js"></script>
<script src="https://github.com/downloads/emberjs/ember.js/ember-latest.js"></script>
<div id="app1">
App1 here...
<script type='text/x-handlebars'>
Hi, {{view.name}}!.
</script>
</div>
JavaScript
App1 = Ember.Application.create({
});
App1.ApplicationController = Ember.Controller.extend();
App1.ApplicationView = Ember.View.extend({
name: 'Anonymous'
})