I'm a n00b, just playing around, but I can't for the life of me make sense of what's going on here.
In my app.js, I have the following declaration in my controller... $scope.cells = [0,1,2,3,4,5,6,7,8,9]; In my html file, I have the following table (the interesting bit is highlighted) <table> <tr><th ng-repeat="cell in cells">[[ cell ]]</th></tr> <tr ng-repeat="cell in cells"> <td ng-repeat="cell in cells">[[ cell=cell+2 ]]</td> </tr> </table> And here's the output... 0 1 2 3 4 5 6 7 8 9 22 23 24 25 26 27 28 29 30 31 22 23 24 25 26 27 28 29 30 31 22 23 24 25 26 27 28 29 30 31 22 23 24 25 26 27 28 29 30 31 22 23 24 25 26 27 28 29 30 31 22 23 24 25 26 27 28 29 30 31 22 23 24 25 26 27 28 29 30 31 22 23 24 25 26 27 28 29 30 31 22 23 24 25 26 27 28 29 30 31 I'm not sure what to make of the output. Totally not what I expected. Does anyone know how to make sense of it? -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
