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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.