<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
看到我的代碼中的變化,但無法正常工作 –