ShareCourse Outline

Building an app with Ampersand

4-3 Binding our me model data to the DOM

next:Stubbing out a RESTful user API
previous:Creating our me model


Ampersand's use of the role attribute as in getByRole() has been replaced with the data-hook attribute for accessibility reasons. So please use hook in place of role when declaring bindings and also ensure your templates have data-hook instead of role throughout these videos (for more details see the documentation).