ember.js - Ember access model directly without {{ model.prop }} -


http://jsbin.com/dikemagi/2/edit

when have no controller, using {{name}} in template works fine access name property, when create controller, model property not available via {{name}} , has accessed via {{model.name}}.

is there way access same way before creating controller ?

specify controller type object controller, follows:

app.applicationcontroller = ember.objectcontroller.extend(); 

Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -