{"action":"closed","issue":{"url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/140","repository_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu","labels_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/140/comments","events_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/140/events","html_url":"https://github.com/Templarian/ui.bootstrap.contextMenu/issues/140","id":344321590,"node_id":"MDU6SXNzdWUzNDQzMjE1OTA=","number":140,"title":"Compile html string to use a custom directive in the html string","user":{"login":"hieutranagi47","id":15606737,"node_id":"MDQ6VXNlcjE1NjA2NzM3","avatar_url":"https://avatars1.githubusercontent.com/u/15606737?v=4","gravatar_id":"","url":"https://api.github.com/users/hieutranagi47","html_url":"https://github.com/hieutranagi47","followers_url":"https://api.github.com/users/hieutranagi47/followers","following_url":"https://api.github.com/users/hieutranagi47/following{/other_user}","gists_url":"https://api.github.com/users/hieutranagi47/gists{/gist_id}","starred_url":"https://api.github.com/users/hieutranagi47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hieutranagi47/subscriptions","organizations_url":"https://api.github.com/users/hieutranagi47/orgs","repos_url":"https://api.github.com/users/hieutranagi47/repos","events_url":"https://api.github.com/users/hieutranagi47/events{/privacy}","received_events_url":"https://api.github.com/users/hieutranagi47/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T07:17:42Z","updated_at":"2018-10-18T17:14:53Z","closed_at":"2018-10-18T17:14:53Z","author_association":"CONTRIBUTOR","body":"Hello,\r\n\r\nI would like to contribute a little bit of code to help user can use their custom directive  in html string in an item similar:\r\n```\r\n{\r\n    html: '<a class=\"dropdown-item\" click2upload-file><i class=\"icon icon-...\"></i> Upload files...<a>',\r\n    compile: true,\r\n    click: function ($itemScope, $event, modelValue, text, $li) {\r\n        return;\r\n    }\r\n}\r\n```\r\nBut currently I can not execute my custom click2uploadFile directive when I click on \"Upload files\" item.\r\nThanks in advance!"}}
{"actor":{"display_login":"josetaira"}}