Error: [ngRepeat:dupes] http://errors.angularjs.org/1.
z/<@http://localhost/webapp/
xd</<.link/<@http://localhost/
Yd/this.$get</h.prototype.$
Yd/this.$get</h.prototype.$dig
Yd/this.$get</h.prototype.$app
m@http://localhost/webapp/wcs/
w@http://localhost/webapp/wcs/
ye/</B.onreadystatechange@http
"
AngularJS.zip
com.zip
Can pls someone provide any hint on this issue
In the below code, string is assigned to the variable responseList.
var responseList = JSON.stringify(data. categories);
alert(responseList);
$scope.categories123 = responseList ;
.. and you are using it in ng-repeat, which will probably be considered as a character array which might be having duplicate characters. Convert responseList to an array using angular.fromJson() method and check.
<div ng-repeat="cata in categories123">{{cata.Name}}{{ cata.id}}</div>
댓글 없음:
댓글 쓰기