I need help implementing an AngularJS Modal (ui.bootstrap.modal) in my project. I want a large modal to pop up whenever a button on my page is clicked. I have tried using bootstrap codes but it doesn't seem to be working. Can someone assist me with this? Thank you in advance.
$scope.checkBinning = function(){
selected_checks = $scope.checkGridOptions['selectedItems'];
$scope.no_show = false;
$scope.final_select=false;
$("#checkRecommendTarget").modal('show');
$scope.route = 'for_escalate';
$scope.select_title = 'GROUPS';
$scope.heading = 'Check Binning';
};
and here is the relevant HTML code:
<button type="button" class="btn btn-danger" ng-click="checkBinning()"> Check Binning </button>