search

Home  >  Q&A  >  body text

angular.js - How to iterate map collection through ng-repeat in angular js? How to get key and value?

As in the title:

    如何跌倒map集合 ? 
我想大声告诉你我想大声告诉你2841 days ago949

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-15 17:03:53

    $scope.map = {key:"value"};
    <h1 ng-repeat="(key,value) in map">{{value}}</h1>

    reply
    0
  • Cancelreply