Angularjs ng重复不显示内部模式

Angularjs ng重复不显示内部模式,angularjs,laravel,angularjs-ng-repeat,Angularjs,Laravel,Angularjs Ng Repeat,我这里有这个模型 <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="m

我这里有这个模型

<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                    <h4 class="modal-title" id="myModalLabel">Details</h4>
                </div>
                <div class="modal-body"> 
                    <div class="row" ng-repeat="prods in products">
                        <div class="col-sm-4">                  
                            <p>@{{prods.pd }}</p>
                        </div>
                        <div class="col-sm-4">                                                
                            <p>@{{ prods.quantity }}</p>                            
                        </div> 
                        <div class="col-sm-4">                                                
                            <p>@{{ prods.totalline }}</p>                               
                        </div>     
                    </div>
                </div>
            </div>
        </div> 
    </div>

可能我做错了什么,但我不知道是什么,我正确地接收了数据,就像我不知道一样,但我无法用这些数据更新我的模态。

请在成功功能中尝试模态显示代码,您正在显示对话框,然后再加载数据

如果在加载数据后显示模式,则问题不会发生

app.controller('productDelivedController', function($scope, $http, API_URL) {

$scope.toggle = function() {
    $http.get(API_URL + 'donation/listLines/1')
        .success(function(response) { 
            $scope.products = response;
            $('#myModal').modal('show');
        });

}});
app.controller('productDelivedController', function($scope, $http, API_URL) {

$scope.toggle = function() {
    $http.get(API_URL + 'donation/listLines/1')
        .success(function(response) { 
            $scope.products = response;
        });
    $('#myModal').modal('show');
}});
app.controller('productDelivedController', function($scope, $http, API_URL) {

$scope.toggle = function() {
    $http.get(API_URL + 'donation/listLines/1')
        .success(function(response) { 
            $scope.products = response;
            $('#myModal').modal('show');
        });

}});