Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 在3个不同的分区中重复ng_Html_Angularjs - Fatal编程技术网

Html 在3个不同的分区中重复ng

Html 在3个不同的分区中重复ng,html,angularjs,Html,Angularjs,我有一个引导类列为12的div在这个div中我有3个引导类列为4的div。 现在我从我的数据库中得到了一份菜系列表 我想用ng repeat(ng repeat)展示3个不同类别的菜肴(无重复): 数据响应: cuisine1 cuisine2 cuisine3 cuisine4 etc.. 在我的页面中,我想向他们展示如下内容: cuisine1 cuisine3 cuisine5 cuisine2 cuisin

我有一个引导类列为12的div在这个div中我有3个引导类列为4的div。 现在我从我的数据库中得到了一份菜系列表

我想用ng repeat(ng repeat)展示3个不同类别的菜肴(无重复): 数据响应:

cuisine1 
cuisine2
cuisine3
cuisine4 etc..
在我的页面中,我想向他们展示如下内容:

cuisine1               cuisine3            cuisine5
cuisine2               cuisine4            cuisine5

有什么帮助吗?我如何使用1 ng repeat实现这一点这可能会对您有所帮助。您可以根据需求显示更多详细信息

var-app=angular.module(“myApp”,[]);
app.controller(“myCtrl”,函数($scope){
$scope.records=[
“烹饪1”,
“烹饪2”,
“烹饪3”,
“烹饪4”,
“烹饪5”
]
});
.col-xs-4{
边框:1px纯黑;
}

{{x}

post your json array\这就是我想要的。谢谢你)欢迎你。很乐意帮忙。如果它解决了您的问题,请将此标记为答案。完成,正在等待30秒:)另外,请阅读这篇关于使用
ng repeat和angular的最佳实践的文章。