我将如何使用 ng-repeat 重复具有这种结构的多个 div(每个 div 的邻域不同,但其余部分相同)?
<div id="neighborhood" ng-controller="WeatherController" ng-init="init('neighborhood')">
<h1>It's currently {{weather}}</h1>
<p>Sunny: {{sunny}}</p>
<p>Foggy: {{foggy}}</p>
<input type="button" value="Sunny" ng-click="sunny = sunny + 1"/>
<input type="button" value="Foggy" ng-click="foggy = foggy + 1"/>
</div>