can you help me? so i thanks
i did $http.post so i get success and i changed test's MovieCommentList and
i apply but don't execute
why is it?
success function is :
.success(function (data, status, header, config)
{
alert('success');
setTimeout(function () {
var test = angular.element($("#movieItems")).scope();
test.MovieCommentList = data;
test.$apply();
}, 2000);
})
html is :
<div id="movieItems" class="item" ng-repeat="data
in MovieCommentList track by data.comment_num">
<ion-item>
<div class="row">
<p>글쓴이 : {{data.comment_user_id}}</p>
</div>
<div class="row">
<p>등록 시간 : {{data.comment_create_time}}</p>
</div>
<div class="row" style ="display:none;">
글번호 : {{data.comment_num}}
</div>
<div class="row">
<p>{{data.comment_board_text}}</p>
</div>
</ion-item>
</div>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.