I'm trying to write an ng-repeat with an array of objects, defining the array in the ng-repeat attribute, but for some reason it just repeats the output indefinitely.
I've boiled it down to the issue being to do with the last part; doing it inline.
<span ng-repeat="item in [{test:'a'}, {test:'b'}, {test:'c'}]">{{item.test}}</span>
A bunch of Error: [$rootScope:infdig] error's turn up in the console.
Interestingly, although I'm running 1.2, no matter which angular version I choose in jsfiddle, it renders it just fine.
But the console in jsfiddle is still flooded with errors Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!, doing this not only for arrays of objects, but arrays of arrays (test5).
My attempt at a workaround, test5 in that fiddle, saving the var, is really interesting because if you comment out the ng-repeat, it saves the scope variable fine without error.
Yet when you try to use that variable, that is where it dies. It's interesting because that is essentially test3, which goes off without a hitch.
So it must be an issue with the one thing I want to do, have the variable come from the html (instead of pre-existing in the js). So to kill the digest loop I tried switching the fiddle to v1.4 to use one time binding and it still fails (console error wise).
Other people seem to have hit the issue, but fixed it in their own library instead of reporting it upstream
Is there any way for me to get this working properly?


$evalAsync()or a similar function in yourng-repeat?