Convert angular to blaze each loop


#1

hi gurs,

lets say you have this angular (which i try to modify to blaze)

<tbody>
            {{#each row in table.qDataPages[0].qMatrix }}
            <tr>
                {{#each col in row}}
                <td> {{col.qText}} </td>
                {{/each}} //
            </tr>
            {{/each}}
        </tbody>


whats wrong with this blaze?


<tbody>
            {{#each row in table.qDataPages[0].qMatrix }}
            <tr>
                {{#each col in row}}
                <td> {{col.qText}} </td>
            </tr>
            {{/each}}
        </tbody> ```
i get


While processing files with templating-compiler (for target web.browser):
   client/ui/app/DIV integration/table.html:11: Expected space
     ...in table.qDataPages[0].qMatrix }}

thanks!


#2

I" have this code

<tbody>
            {{#each row in table.qDataPages[0].qMatrix }}
            <tr>
                {{#each col in row}}
                <td> {{col.qText}} </td>
                {{/each}}
            </tr>
            {{/each}}
        </tbody>