Render HTML Controls with Expressions

So far we’ve used some pretty vanilla controls to illustrate Ember’s templating system. But the Handlebars expression language and Ember’s helper classes are capable of rendering a great deal more variety than that.

In this section we’ll go through the most useful controls available in Ember. We’ll start with how to use Ember to display static data, and then talk about conditionals and looping. Then we’ll visit input controls and wrap up by going over actions and links.

Rendering Data

The most fundamental use of Handlebars expressions is to simply display data from the route and its related controller. A controller is a class used to provide access to the data supplied via the route’s model hook. Recall ...

Get Deliver Audacious Web Apps with Ember 2 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.