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
Post a Comment