{"action":"created","issue":{"url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/12","labels_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/12/comments","events_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/12/events","html_url":"https://github.com/Templarian/ui.bootstrap.contextMenu/pull/12","id":76806077,"number":12,"title":"3 Improvements","user":{"login":"SuricateCan","id":7801111,"avatar_url":"https://avatars.githubusercontent.com/u/7801111?v=3","gravatar_id":"","url":"https://api.github.com/users/SuricateCan","html_url":"https://github.com/SuricateCan","followers_url":"https://api.github.com/users/SuricateCan/followers","following_url":"https://api.github.com/users/SuricateCan/following{/other_user}","gists_url":"https://api.github.com/users/SuricateCan/gists{/gist_id}","starred_url":"https://api.github.com/users/SuricateCan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuricateCan/subscriptions","organizations_url":"https://api.github.com/users/SuricateCan/orgs","repos_url":"https://api.github.com/users/SuricateCan/repos","events_url":"https://api.github.com/users/SuricateCan/events{/privacy}","received_events_url":"https://api.github.com/users/SuricateCan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-15T18:08:07Z","updated_at":"2015-05-18T15:55:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/pulls/12","html_url":"https://github.com/Templarian/ui.bootstrap.contextMenu/pull/12","diff_url":"https://github.com/Templarian/ui.bootstrap.contextMenu/pull/12.diff","patch_url":"https://github.com/Templarian/ui.bootstrap.contextMenu/pull/12.patch"},"body":"Hi,\r\nI did 3 improvements here.\r\n\r\n1. Adjusted the directive declaration to function with strict-di set;\r\n2. Added a third function to the menuOptions array to disable items on the fly. If no function is present, the item is enabled by default;\r\n3. Added a tag attribute to help people (like me) that use this context menu outside a ngRepeat context.\r\n\r\nFor people updating the plugin, there will be NO necessary changes to old code.\r\n\r\nHope you enjoy!"},"comment":{"url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/comments/103112488","html_url":"https://github.com/Templarian/ui.bootstrap.contextMenu/pull/12#issuecomment-103112488","issue_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/12","id":103112488,"user":{"login":"Templarian","id":338885,"avatar_url":"https://avatars.githubusercontent.com/u/338885?v=3","gravatar_id":"","url":"https://api.github.com/users/Templarian","html_url":"https://github.com/Templarian","followers_url":"https://api.github.com/users/Templarian/followers","following_url":"https://api.github.com/users/Templarian/following{/other_user}","gists_url":"https://api.github.com/users/Templarian/gists{/gist_id}","starred_url":"https://api.github.com/users/Templarian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Templarian/subscriptions","organizations_url":"https://api.github.com/users/Templarian/orgs","repos_url":"https://api.github.com/users/Templarian/repos","events_url":"https://api.github.com/users/Templarian/events{/privacy}","received_events_url":"https://api.github.com/users/Templarian/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T15:55:09Z","updated_at":"2015-05-18T15:55:09Z","body":"Sorry forgot to reply. I'm accepting this pull request, just going to be renaming `contextMenuTag` to `model`. Other than it will probably go in as is. Busy at work so will merge the pull request Tuesday and update the bower package.\r\n\r\nThanks again for writing this pull request, just wanted to give an update."}}