12345678910111213141516 |
- app.controller('Confirm', confirmController);
- function confirmController($scope, $uibModalInstance) {
- $scope.cancel = function() {
- $uibModalInstance.close(false);
- };
- $scope.ok = function() {
- $uibModalInstance.close(true);
- }
- }
- confirmController.$inject = [
- '$scope',
- '$uibModalInstance',
- ];
|