Problem

You want to set the attributes of an HTML element that is created from an Ember.View

Solution

Use either the {{bindAttr}} Handlebars helper in your templates or set an attribute binding to a path in your application.

Discussion