title: angularjs - ng-repeat doesn't iterate over hashmap
body: <p>I am trying to iterate over hashmap like this:</p>
  
  <p>index.html</p>
  
  <pre><code>&lt;div ng-app&gt;
    &lt;div ng-controller="ClickToEditCtrl"&gt;
          &lt;p&gt;Your Data:&lt;/p&gt;
          &lt;ul ng-repeat="(name, person) in data"&gt;
                name: {{name}}
              --------------------------
                  age: {{person.age}}
                  hair: {person.hair}}
  
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>in my ClickToEditCtrl.js</p>
  
  <pre><code>function ClickToEditCtrl($scope) {
      $scope.data =[];
      $scope.data["Mike"] = new person (11,"blonde");
      $scope.data["Dan"] = new person (22, "redhead");
  }
  
  function person(age, hair){
    this.age = age;
    this.hair = hair;
  }
  </code></pre>
  
  <p>that doesn't work..</p>
  
  <p>I am getting empty list.</p>
  
  <p>what am I doning wrong?</p>
  
  <p>thanks!</p>