{"action":"opened","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3663","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3663/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3663/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3663/events","html_url":"https://github.com/angular-ui/bootstrap/issues/3663","id":75995163,"number":3663,"title":"How to get $element in modal's controller","user":{"login":"piernik","id":420691,"avatar_url":"https://avatars.githubusercontent.com/u/420691?v=3","gravatar_id":"","url":"https://api.github.com/users/piernik","html_url":"https://github.com/piernik","followers_url":"https://api.github.com/users/piernik/followers","following_url":"https://api.github.com/users/piernik/following{/other_user}","gists_url":"https://api.github.com/users/piernik/gists{/gist_id}","starred_url":"https://api.github.com/users/piernik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piernik/subscriptions","organizations_url":"https://api.github.com/users/piernik/orgs","repos_url":"https://api.github.com/users/piernik/repos","events_url":"https://api.github.com/users/piernik/events{/privacy}","received_events_url":"https://api.github.com/users/piernik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-13T14:06:28Z","updated_at":"2015-05-13T14:06:28Z","closed_at":null,"body":"How I can get `$element` in modal's controller?\r\nThis is modal's controller's func. I always get `Unknown provider: $elementProvider <- $element`\r\n```\r\nfunction mailPodgladCtrl($scope, $modalInstance, $element) {\r\n        var vm = this;\r\n});\r\n```\r\nI need modal element to get tag from a modal."}}