<script>
\t \t var app = angular.module("myapp", []);
app.controller('test',function($scope){
\t \t $scope.my="hi";
\t $scope.myimag=["Feature-Category1.png","Feature-Category2.png","Feature-Category3.png","Feature-Category1.png","Feature-Category1.png"];
\t \t \t });
\t \t </script>
<body ng-app="myapp">
<div ng-controller="test">
<div class="col-md-3 col-sm-3 col-xs-3" ng-repeat="x in myimag">
<a href="#"><img alt="" ng-src="{{x}}"></a>
\t </div>
</div>
\t </body> \t \t \t \t \t \t \t \t \t \t
我想重复在myimg的项目,但它不工作就明白为什么
也是错误 –
@banuprak灰检查演示 – Sajeetharan
看到我的代码中的变化,但无法正常工作 –