I'm having an issue iterating over an object and array in Ember.js in templates. I'm sure it's a way I'm implementing the Handlebars iterator but I can't seem to figure it out.
Records = {
data: [
[
recordID: "1234",
recordName: "Record Name"
],
[
recordID: "1235",
recordName: "Record Name 5"
],
[
recordID: "1236",
recordName: "Record Name 6"
]
],
otherInformation: "Other Info",
moreInformation: "More Information"
}
Then I have the template output that looks like this...
{{#each Records.data}}
{{this}}
{{/each}}
This only gives me the first record in the data array but I want to be able to access each array and each key in the sub arrays in order to output specific values.