{"action":"created","issue":{"url":"https://api.github.com/repos/likeastore/ngDialog/issues/418","repository_url":"https://api.github.com/repos/likeastore/ngDialog","labels_url":"https://api.github.com/repos/likeastore/ngDialog/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/likeastore/ngDialog/issues/418/comments","events_url":"https://api.github.com/repos/likeastore/ngDialog/issues/418/events","html_url":"https://github.com/likeastore/ngDialog/issues/418","id":131826862,"number":418,"title":"how can i give a spicific name to dialog when ngDialog.open called","user":{"login":"Sky-Li","id":9549072,"avatar_url":"https://avatars.githubusercontent.com/u/9549072?v=3","gravatar_id":"","url":"https://api.github.com/users/Sky-Li","html_url":"https://github.com/Sky-Li","followers_url":"https://api.github.com/users/Sky-Li/followers","following_url":"https://api.github.com/users/Sky-Li/following{/other_user}","gists_url":"https://api.github.com/users/Sky-Li/gists{/gist_id}","starred_url":"https://api.github.com/users/Sky-Li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sky-Li/subscriptions","organizations_url":"https://api.github.com/users/Sky-Li/orgs","repos_url":"https://api.github.com/users/Sky-Li/repos","events_url":"https://api.github.com/users/Sky-Li/events{/privacy}","received_events_url":"https://api.github.com/users/Sky-Li/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/likeastore/ngDialog/labels/more%20info%20needed","name":"more info needed","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-06T06:17:10Z","updated_at":"2016-03-31T01:10:00Z","closed_at":null,"body":"i use the option.name like this, but the dialog still be named \"dialog1\". Hope for any help,thx\r\n```\r\nngDialog.open({\r\n            template: './pages/package-flow/kit-detail-dialog.html',\r\n            className: 'ngdialog-theme-default',\r\n            scope: $scope,\r\n            name: \"kit-detail-dialog\",\r\n            cache: false,\r\n            showClose: false\r\n        });\r\n```"},"comment":{"url":"https://api.github.com/repos/likeastore/ngDialog/issues/comments/203701645","html_url":"https://github.com/likeastore/ngDialog/issues/418#issuecomment-203701645","issue_url":"https://api.github.com/repos/likeastore/ngDialog/issues/418","id":203701645,"user":{"login":"flashjammin","id":7479498,"avatar_url":"https://avatars.githubusercontent.com/u/7479498?v=3","gravatar_id":"","url":"https://api.github.com/users/flashjammin","html_url":"https://github.com/flashjammin","followers_url":"https://api.github.com/users/flashjammin/followers","following_url":"https://api.github.com/users/flashjammin/following{/other_user}","gists_url":"https://api.github.com/users/flashjammin/gists{/gist_id}","starred_url":"https://api.github.com/users/flashjammin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flashjammin/subscriptions","organizations_url":"https://api.github.com/users/flashjammin/orgs","repos_url":"https://api.github.com/users/flashjammin/repos","events_url":"https://api.github.com/users/flashjammin/events{/privacy}","received_events_url":"https://api.github.com/users/flashjammin/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T01:10:00Z","updated_at":"2016-03-31T01:10:00Z","body":"The main issue I am having is that the id is not being set on the dialog div, there is also a few other options that do not seem to be working as expected...\r\nappendClassName and name\r\n\r\n`scope.openCustomDialog = function() {\r\n\tngDialog.open({\r\n\t\ttemplate: \"customDialog.html\",\r\n\t\tcloseByDocument : false,\r\n\t\tname: \"custom-dialog\",\r\n\t\tappendClassName: 'custom-dialog',\r\n\t\tscope: scope\r\n\t});\r\n};`\r\n\r\n![image](https://cloud.githubusercontent.com/assets/7479498/14162622/02744f98-f74a-11e5-842c-1c4adb6a0cc9.png)\r\n\r\nAs you can see its coming through\r\n"}}