In Angular 1 you could iterate an associative array using:
    <li ng-repeat="(name, age) in items">{{name}}: {{age}}</li>

In Angular 2, I tried:
    <li *ng-for="#(name, age) of items">{{name}}: {{age}}</li>

but I get a Parser Error exception at runtime. Anyone know the correct 
syntax for this?

-Vern

-- 
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.

Reply via email to