
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
angular-dialog
Advanced tools
This is a super easy, small library for creating dynamic dialogs with angularjs. Calling dialog.show, dialog.confirm or dialog.reason creates a promise, which is either resolved or rejected.
$ npm install simple-angular-dialog --save
Add simple-angular-dialog to your dependencies
<link rel="stylesheet" type="text/css" href="dialog.css">
</head>
<body>
...
<script type="text/javascript" src="angular.js"></script>
<script type="text/javascript" src="simple-angular-dialog.min.js"></script>
</body>
Then in your app should look something like this:
angular
.module('YourApp', ['simple-angular-dialog'])
.controller('ctrl', ['dialog', function (dialog) {
$scope.value = 123
$scope.showDialog = function () {
return dialog.show({
template: require('./dialog.template.html')
controller: function (value, dialog, $scope) {
console.log(value)
$scope.close = function () {
return dialog.close()
}
},
locals: {value: $scope.value}
})
.then(function (data) {
console.log('Submit Called', data)
})
.catch(function () {
console.log('Cancel Called')
})
}
})
dialog.show({
template: require('./dialog.template.html'),
controller: function () {},
controllerAs: 'vm',
escapeKey: false,
overlayClose: false,
hasX: true,
locals: {key: param}
})
dialog.confirm('Confirm Text')
dialog.reason('This is info text')

FAQs
Angular factory for creating dialogs
The npm package angular-dialog receives a total of 1 weekly downloads. As such, angular-dialog popularity was classified as not popular.
We found that angular-dialog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.