效果图
数据源
/* Controllers */
function ctrDataList($scope) {
$scope.ctrDataList_list = [
{
"title":"General",
"con":[{
"pid":"g1",
"head": "Users",
"body": [{"id":"gu-1","name":"Overview" }, { "id":"gu-2","name":"Add User" } ]
} ,
{
"pid":"g2",
"head": "Companies",
"body": [{"id":"gc-1","name":"Overview" }, { "id":"gc-2",",=name":"Add User" } ]
},
{
"pid":"g3",
"head": "Roles",
"body": [{"id":"gr-1","name":"Overview" }, { "id":"gr-2","name":"Add User" } ]
},
{
"pid":"g4",
"head": "Groups",
"body": [{"id":"gg-1","name":"Overview" }, { "id":"gg-2","name":"Add User" } ]
},
{
"pid":"g5",
"head": "Te