likeastore / ngDialog

Modals and popups provider for Angular.js applications
http://likeastore.github.io/ngDialog
3.14k stars 692 forks source link

ngDialogName in directive #532

Open keplerk opened 7 years ago

keplerk commented 7 years ago

What version of ng-dialog are you using? 0.6.6 What version of AngularJS are you using? 1.6.1 What browsers are affected? All Please provide either a JSFiddle, Plunkr example that replicates the issue

Please describe the issue There is no way no specify name attribute using directive, and I saw myself in the need of of manually add that attribute to the directive, but that's not the idea. What did you expect to happen? Be able to set a name to the dialog using ngDialog directive, this is because i use mostly just directives in my current project, and without be able to determine the id of the dialog i force myself to use the service and this won't always work because i use sometimes multiple dialogs dynamically generated. What actually happened? None, can't set it.