Ember.js with js objects
===

I want an Ember view to hold a Javascript object. Something like:

     var foo = function(){
       function bar(){
         alert("Hi");
       };
     };

     MyApp.MyView = Ember.View.extend({
       boo: new foo();
     });

     MyApp.MyView.boo.bar();