
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
angular-mn-dialog
Advanced tools
A angular service to mn-dialog
See the demo
npm install --save angular-mn-dialog
And bundle dependencies and main files in dist/ with your preferred tool.
// add dependency in you module
angular.module('app', [
'mn-dialog'
])
Add to your html, the tag mn-dialog and assign to it an id, e.g.
<mn-dialog id="example">
<!-- here goes the content of your dialog -->
</mn-dialog>
and to open this dialog, you can add to any element (we suggest a button), the attibute open-dialog with id as value, e.g.
<!-- when click in the button, dialog will be opened -->
<button open-dialog="example">Open dialog</button>
For more details check mn-dialog docs.
Now, about service, you can use the service $mnDialog, like below:
angular
.module('app')
.controller('HomeController', HomeController)
function HomeController($mnDialog) {
// to open, call method open with id of dialog
$mnDialog.open('example')
// to close dialog visible, just call .close()
$mnDialog.close()
}
FAQs
a angular service to mn-dialog
We found that angular-mn-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
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.