AngularJS-模式视图未显示

时间:2018-10-23 15:59:59

标签: html angularjs angular-ui-bootstrap

试图显示我的模式视图,但当前未显示:

AngularJS:

$scope.openModal = function (row) {
    var uibModalInstance = $uibModal.open({
        templateUrl: "views/modals/view.html",
        controller: 'ModalCtrl',
        backdrop  : 'static',
        resolve: {
            row: function () {
                return row;
            },
            SpringDataRestService: function () {
                return SpringDataRestService;
            }
        }
    });
};

HTML:

<div class="col-xs-6 col-md-6 no-padding-right pull-right">
    <span class="pull-right padding-5 padding-right-10">
        <a href type="button" class="btn btn-sm shiny"
           ng-click="openModal()">Create New User</a>
    </span>
</div>

0 个答案:

没有答案