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

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -