In order to put sample data into an application before connecting the application to long term persistence, fixtures are used.
- First update js/application.js to indicate that your application’s application adapter is an extension of the DS.FixtureAdapter. Adapters are used for communicating with a source of data for your application. Usually, this will be a web service API.
- Next, update the file at js/models/todo.js