Quick tips on learning ember
- Use http://emberjs.jsbin.com when demonstrating code to get help
- Use Ember-Inspector (and Chrome to be able to) https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi
- Understand that ember is changing, and many examples are no longer working.
- You can read a summary about changes here, and one is relevant to you right now: DS.hasMany('Pokechoice.Damage') should be DS.hasMnay('damage') in current ember code. https://github.com/emberjs/data/blob/master/TRANSITION.md#relationships
- Use http://jsonlint.com/ or simular to verify JSON
- Use JSONView (chrome-plugin) or simular plugin for your browser to view a JSON-response
- Often google using the keywords 'ember' and 'api' together with another ember object name, like 'router', 'store', 'controller', 'view', 'model'.
- Know of http://builds.emberjs.com that has ember-latest.js and ember-data-latest.js
- Hang out in #emberjs @ freenode irc server =)
Solution / Working example
http://emberjs.jsbin.com/afojaZU/2/edit
Hope this helps!
One of the first big (time invested) answers I've made on SO :)