Top "Ember.js" questions

Ember.

Conditional class in HtmlBars

In regular handlebars I was able to do: <div {{bind-attr class="model.isNew:new:old"}}> How can I …

ember.js htmlbars
How to make embedded hasMany relationships work with ember data

I can't get embedded hasMany to work correctly with ember data. I have something like this App.Post = DS.Model.…

javascript ember.js ember-data
EmberJS Set Multiple Properties At Once

I am setting lots of properties with a series of set calls e.g. this.set('prop1', value1); this.…

ember.js
Differences between Sproutcore and Ember

I had selected sproutcore as a framework right before Ember forked from sproutcore. I am left uncertain of which way …

sproutcore ember.js
How and when to use Ember.Application register and inject methods?

I'm trying to understand how to use Ember.Application register & inject methods What use case are these functions designed …

ember.js
How to get Ember Data's "store" from anywhere in the application so that I can do store.find()?

With the recent update, I know that in routers and controllers, I can easily just do this.store.find('model'). …

ember.js ember-data
How to run action in Ember Controller afterRender

I am new to ember framework. I just want to execute a function that is defined inside the actions hook …

ember.js ember-data ember-cli
Ember.js routing: how do you set a default route to render immediately?

I'm sure this will become clear as I dig in deeper, but for now it's not obvious how to make …

routing ember.js ember-old-router
EmberJS: The best way to reload controller's model based on another property?

What is the best way to reload model for a current controller based on another property? For example: I have …

javascript ember.js ember-data
How to get an instance of a controller in Ember.js?

I'm trying to access an instance of a controller that has been wired automatically using App.initialize(); I've tried the …

ember.js ember-old-router