은 무엇 당신이 찾고있는 것은 NgRepeat 지침과 몇 가지 간단한 CSS로 불과 3 div의입니다.
여기에 원하는 데모가 있습니다. Code Pen
HTML
<h3>Three Lists</h3>
<div ng-app="threeListsApp" ng-controller="ctrl">
<ul>
<div class="itemClmn">
<h4>items A</h4>
<p ng-repeat="(country,goals) in itemsA">{{country}} : {{goals}}</p>
</div>
<div class="itemClmn">
<h4>items B</h4>
<p ng-repeat="bItem in itemsB">{{bItem.name}}: {{bItem.gender}}</p>
</div>
<div class="itemClmn">
<h4>items C</h4>
<p ng-repeat="cItem in itemsC">{{cItem[0]}}: {{cItem[1]}}</p>
</div>
</ul>
</div>
CSS 다른 각도와 다른
.itemClmn
{
position: relative;
float: left;
width: 130px;
}
JS
var a = {
"India": "2",
"England": "2",
"Brazil": "3"
};
var b = [{
name: "Jim",
gender: "M"
}, {
name: "Jane",
gender: "F"
}, {
name: "Robyn",
gender: "F"
}];
var c = [
["Blue", "1"],
["Green", "2"],
["Red", "3"]
];
angular
.module('threeListsApp', [])
.controller('ctrl', ['$scope', function ($scope) {
$scope.itemsA = a;
$scope.itemsB = b;
$scope.itemsC = c;
}]);
아무것도. 특정 문제는 무엇입니까? – charlietfl