{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/pulls/19","id":85654987,"html_url":"https://github.com/lukemurray/NgHierarchicalSelector/pull/19","diff_url":"https://github.com/lukemurray/NgHierarchicalSelector/pull/19.diff","patch_url":"https://github.com/lukemurray/NgHierarchicalSelector/pull/19.patch","issue_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/issues/19","number":19,"state":"open","locked":false,"title":"Add clear-selected attribute to clear all the selected items","user":{"login":"arielcr","id":989742,"avatar_url":"https://avatars.githubusercontent.com/u/989742?v=3","gravatar_id":"","url":"https://api.github.com/users/arielcr","html_url":"https://github.com/arielcr","followers_url":"https://api.github.com/users/arielcr/followers","following_url":"https://api.github.com/users/arielcr/following{/other_user}","gists_url":"https://api.github.com/users/arielcr/gists{/gist_id}","starred_url":"https://api.github.com/users/arielcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielcr/subscriptions","organizations_url":"https://api.github.com/users/arielcr/orgs","repos_url":"https://api.github.com/users/arielcr/repos","events_url":"https://api.github.com/users/arielcr/events{/privacy}","received_events_url":"https://api.github.com/users/arielcr/received_events","type":"User","site_admin":false},"body":"Hi @lukemurray \r\n\r\nI finally found a way to clear all the tree, I don't know if it's the fanciest way of doing it, but it works.\r\n\r\nI add a clear-selected attribute to the directive that basically what it does it that is clears and refresh all the tree when the variable that is passed to the clear-selected attribute is changed.\r\n\r\nIt works pretty nice for me. I also add some documentation of the attribute to the demo page, just for a quick reference on how to do it.\r\nI add a clear-selected attribute to the directive that basically what it does it that is clears and refresh all the tree when the variable that is passed to the clear-selected attribute is changed.\r\n\r\nTell me waht you think, I hope you can merge it into your branch!\r\n\r\nCheers!\r\n","created_at":"2016-09-16T23:47:02Z","updated_at":"2016-09-16T23:47:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35deab7588b2de7a8b1cb7e7a5fe1ebbb1eab43f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/pulls/19/commits","review_comments_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/pulls/19/comments","review_comment_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/issues/19/comments","statuses_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/statuses/bac5114f5f6081428f74b236ca6f34f5344f6564","head":{"label":"arielcr:master","ref":"master","sha":"bac5114f5f6081428f74b236ca6f34f5344f6564","user":{"login":"arielcr","id":989742,"avatar_url":"https://avatars.githubusercontent.com/u/989742?v=3","gravatar_id":"","url":"https://api.github.com/users/arielcr","html_url":"https://github.com/arielcr","followers_url":"https://api.github.com/users/arielcr/followers","following_url":"https://api.github.com/users/arielcr/following{/other_user}","gists_url":"https://api.github.com/users/arielcr/gists{/gist_id}","starred_url":"https://api.github.com/users/arielcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielcr/subscriptions","organizations_url":"https://api.github.com/users/arielcr/orgs","repos_url":"https://api.github.com/users/arielcr/repos","events_url":"https://api.github.com/users/arielcr/events{/privacy}","received_events_url":"https://api.github.com/users/arielcr/received_events","type":"User","site_admin":false},"repo":{"id":68420185,"name":"NgHierarchicalSelector","full_name":"arielcr/NgHierarchicalSelector","owner":{"login":"arielcr","id":989742,"avatar_url":"https://avatars.githubusercontent.com/u/989742?v=3","gravatar_id":"","url":"https://api.github.com/users/arielcr","html_url":"https://github.com/arielcr","followers_url":"https://api.github.com/users/arielcr/followers","following_url":"https://api.github.com/users/arielcr/following{/other_user}","gists_url":"https://api.github.com/users/arielcr/gists{/gist_id}","starred_url":"https://api.github.com/users/arielcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielcr/subscriptions","organizations_url":"https://api.github.com/users/arielcr/orgs","repos_url":"https://api.github.com/users/arielcr/repos","events_url":"https://api.github.com/users/arielcr/events{/privacy}","received_events_url":"https://api.github.com/users/arielcr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arielcr/NgHierarchicalSelector","description":"A Hierarchical/Tree Selector control for AngularJS","fork":true,"url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector","forks_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/forks","keys_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/teams","hooks_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/hooks","issue_events_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/issues/events{/number}","events_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/events","assignees_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/assignees{/user}","branches_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/branches{/branch}","tags_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/tags","blobs_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/git/refs{/sha}","trees_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/statuses/{sha}","languages_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/languages","stargazers_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/stargazers","contributors_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/contributors","subscribers_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/subscribers","subscription_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/subscription","commits_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/commits{/sha}","git_commits_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/git/commits{/sha}","comments_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/comments{/number}","issue_comment_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/issues/comments{/number}","contents_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/contents/{+path}","compare_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/merges","archive_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/downloads","issues_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/issues{/number}","pulls_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/pulls{/number}","milestones_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/milestones{/number}","notifications_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/labels{/name}","releases_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/releases{/id}","deployments_url":"https://api.github.com/repos/arielcr/NgHierarchicalSelector/deployments","created_at":"2016-09-16T23:05:33Z","updated_at":"2016-09-16T23:05:34Z","pushed_at":"2016-09-16T23:40:11Z","git_url":"git://github.com/arielcr/NgHierarchicalSelector.git","ssh_url":"git@github.com:arielcr/NgHierarchicalSelector.git","clone_url":"https://github.com/arielcr/NgHierarchicalSelector.git","svn_url":"https://github.com/arielcr/NgHierarchicalSelector","homepage":"http://lukemurray.github.io/NgHierarchicalSelector/","size":243,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lukemurray:master","ref":"master","sha":"a7febe0faefb20caf3568e46f8a01af1353ad42d","user":{"login":"lukemurray","id":156625,"avatar_url":"https://avatars.githubusercontent.com/u/156625?v=3","gravatar_id":"","url":"https://api.github.com/users/lukemurray","html_url":"https://github.com/lukemurray","followers_url":"https://api.github.com/users/lukemurray/followers","following_url":"https://api.github.com/users/lukemurray/following{/other_user}","gists_url":"https://api.github.com/users/lukemurray/gists{/gist_id}","starred_url":"https://api.github.com/users/lukemurray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukemurray/subscriptions","organizations_url":"https://api.github.com/users/lukemurray/orgs","repos_url":"https://api.github.com/users/lukemurray/repos","events_url":"https://api.github.com/users/lukemurray/events{/privacy}","received_events_url":"https://api.github.com/users/lukemurray/received_events","type":"User","site_admin":false},"repo":{"id":27708629,"name":"NgHierarchicalSelector","full_name":"lukemurray/NgHierarchicalSelector","owner":{"login":"lukemurray","id":156625,"avatar_url":"https://avatars.githubusercontent.com/u/156625?v=3","gravatar_id":"","url":"https://api.github.com/users/lukemurray","html_url":"https://github.com/lukemurray","followers_url":"https://api.github.com/users/lukemurray/followers","following_url":"https://api.github.com/users/lukemurray/following{/other_user}","gists_url":"https://api.github.com/users/lukemurray/gists{/gist_id}","starred_url":"https://api.github.com/users/lukemurray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukemurray/subscriptions","organizations_url":"https://api.github.com/users/lukemurray/orgs","repos_url":"https://api.github.com/users/lukemurray/repos","events_url":"https://api.github.com/users/lukemurray/events{/privacy}","received_events_url":"https://api.github.com/users/lukemurray/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukemurray/NgHierarchicalSelector","description":"A Hierarchical/Tree Selector control for AngularJS","fork":false,"url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector","forks_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/forks","keys_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/teams","hooks_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/hooks","issue_events_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/issues/events{/number}","events_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/events","assignees_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/assignees{/user}","branches_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/branches{/branch}","tags_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/tags","blobs_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/statuses/{sha}","languages_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/languages","stargazers_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/stargazers","contributors_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/contributors","subscribers_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/subscribers","subscription_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/subscription","commits_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/contents/{+path}","compare_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/merges","archive_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/downloads","issues_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/issues{/number}","pulls_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/pulls{/number}","milestones_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/milestones{/number}","notifications_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/labels{/name}","releases_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/releases{/id}","deployments_url":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/deployments","created_at":"2014-12-08T10:00:39Z","updated_at":"2016-06-23T15:03:06Z","pushed_at":"2016-09-16T23:47:02Z","git_url":"git://github.com/lukemurray/NgHierarchicalSelector.git","ssh_url":"git@github.com:lukemurray/NgHierarchicalSelector.git","clone_url":"https://github.com/lukemurray/NgHierarchicalSelector.git","svn_url":"https://github.com/lukemurray/NgHierarchicalSelector","homepage":"http://lukemurray.github.io/NgHierarchicalSelector/","size":243,"stargazers_count":24,"watchers_count":24,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":10,"forks":15,"open_issues":10,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/pulls/19"},"html":{"href":"https://github.com/lukemurray/NgHierarchicalSelector/pull/19"},"issue":{"href":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/issues/19"},"comments":{"href":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/lukemurray/NgHierarchicalSelector/statuses/bac5114f5f6081428f74b236ca6f34f5344f6564"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":570,"deletions":525,"changed_files":9}}
{"actor":{"display_login":"arielcr"}}