For loop in template, but ember throw error to me

this looks fine, and works in chrome console

Ember error:

You are not supposed to put script tags in your templates. What are you trying to do?