How would you go through the entries on the map so that you can print both the input key and the value? For example, I would like to do something like this:
<ul> <li ng-repeat='mapEntry in {"First Name":"John", "Last Name":"Smith"}'> <span>Key: {{mapEntry.key}}, value: {{mapEntry.value}}</span> </li> </ul>
angularjs
Alex Spurling Feb 05 '13 at 9:33 2013-02-05 09:33
source share