Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • The only way I can see this error occurring with that view is if the data provided by youtube includes an undefined element in the collection – [ { id: 442 }, undefined ]. If you add the condition if data under the each, does it succeed then? Commented Nov 18, 2015 at 5:03
  • Side-note: Using #{...} at the start of a line renders a dynamically-named element – <442></442>. I'm guessing that's probably not what you were going for. To render data.id as text, add an element or a pipe before it – div #{data.id} or | #{data.id}. Commented Nov 18, 2015 at 5:04
  • Thanks for your suggestion, that was helpful. Commented Nov 18, 2015 at 16:53