{"action":"closed","number":36,"pull_request":{"url":"https://api.github.com/repos/urish/angular-load/pulls/36","id":93109808,"html_url":"https://github.com/urish/angular-load/pull/36","diff_url":"https://github.com/urish/angular-load/pull/36.diff","patch_url":"https://github.com/urish/angular-load/pull/36.patch","issue_url":"https://api.github.com/repos/urish/angular-load/issues/36","number":36,"state":"closed","locked":false,"title":"Remove promise when unloading CSS. Allows re-loading the same CSS.","user":{"login":"francisrath","id":197670,"avatar_url":"https://avatars.githubusercontent.com/u/197670?v=3","gravatar_id":"","url":"https://api.github.com/users/francisrath","html_url":"https://github.com/francisrath","followers_url":"https://api.github.com/users/francisrath/followers","following_url":"https://api.github.com/users/francisrath/following{/other_user}","gists_url":"https://api.github.com/users/francisrath/gists{/gist_id}","starred_url":"https://api.github.com/users/francisrath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisrath/subscriptions","organizations_url":"https://api.github.com/users/francisrath/orgs","repos_url":"https://api.github.com/users/francisrath/repos","events_url":"https://api.github.com/users/francisrath/events{/privacy}","received_events_url":"https://api.github.com/users/francisrath/received_events","type":"User","site_admin":false},"body":"Thank you for merging my changes. I noted another issue in the way I use your script, and this PR fixes it.\r\n\r\nThe problem is that I need a certain CSS only for one controller, and I need to load it when entering the controller and unloading it when destroying the controller.\r\n\r\nThe way unloadCSS worked it kept the promise in place, which meant loadCSS would return without doing anything. There might be a better way to do this, but it works for me. :)","created_at":"2016-11-10T08:56:00Z","updated_at":"2016-11-10T23:22:50Z","closed_at":"2016-11-10T23:22:50Z","merged_at":"2016-11-10T23:22:50Z","merge_commit_sha":"f9e40ad8da3d26448c7a1b82e6bda8e7da00be6c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/urish/angular-load/pulls/36/commits","review_comments_url":"https://api.github.com/repos/urish/angular-load/pulls/36/comments","review_comment_url":"https://api.github.com/repos/urish/angular-load/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urish/angular-load/issues/36/comments","statuses_url":"https://api.github.com/repos/urish/angular-load/statuses/13d5ed9171db40eb46bebe9375407a7648745961","head":{"label":"digitalcreations:master","ref":"master","sha":"13d5ed9171db40eb46bebe9375407a7648745961","user":{"login":"digitalcreations","id":776234,"avatar_url":"https://avatars.githubusercontent.com/u/776234?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalcreations","html_url":"https://github.com/digitalcreations","followers_url":"https://api.github.com/users/digitalcreations/followers","following_url":"https://api.github.com/users/digitalcreations/following{/other_user}","gists_url":"https://api.github.com/users/digitalcreations/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalcreations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalcreations/subscriptions","organizations_url":"https://api.github.com/users/digitalcreations/orgs","repos_url":"https://api.github.com/users/digitalcreations/repos","events_url":"https://api.github.com/users/digitalcreations/events{/privacy}","received_events_url":"https://api.github.com/users/digitalcreations/received_events","type":"Organization","site_admin":false},"repo":{"id":73290456,"name":"angular-load","full_name":"digitalcreations/angular-load","owner":{"login":"digitalcreations","id":776234,"avatar_url":"https://avatars.githubusercontent.com/u/776234?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalcreations","html_url":"https://github.com/digitalcreations","followers_url":"https://api.github.com/users/digitalcreations/followers","following_url":"https://api.github.com/users/digitalcreations/following{/other_user}","gists_url":"https://api.github.com/users/digitalcreations/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalcreations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalcreations/subscriptions","organizations_url":"https://api.github.com/users/digitalcreations/orgs","repos_url":"https://api.github.com/users/digitalcreations/repos","events_url":"https://api.github.com/users/digitalcreations/events{/privacy}","received_events_url":"https://api.github.com/users/digitalcreations/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digitalcreations/angular-load","description":"Dynamically load scripts and css stylesheets in your Angular.JS app","fork":true,"url":"https://api.github.com/repos/digitalcreations/angular-load","forks_url":"https://api.github.com/repos/digitalcreations/angular-load/forks","keys_url":"https://api.github.com/repos/digitalcreations/angular-load/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalcreations/angular-load/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalcreations/angular-load/teams","hooks_url":"https://api.github.com/repos/digitalcreations/angular-load/hooks","issue_events_url":"https://api.github.com/repos/digitalcreations/angular-load/issues/events{/number}","events_url":"https://api.github.com/repos/digitalcreations/angular-load/events","assignees_url":"https://api.github.com/repos/digitalcreations/angular-load/assignees{/user}","branches_url":"https://api.github.com/repos/digitalcreations/angular-load/branches{/branch}","tags_url":"https://api.github.com/repos/digitalcreations/angular-load/tags","blobs_url":"https://api.github.com/repos/digitalcreations/angular-load/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalcreations/angular-load/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalcreations/angular-load/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalcreations/angular-load/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalcreations/angular-load/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalcreations/angular-load/languages","stargazers_url":"https://api.github.com/repos/digitalcreations/angular-load/stargazers","contributors_url":"https://api.github.com/repos/digitalcreations/angular-load/contributors","subscribers_url":"https://api.github.com/repos/digitalcreations/angular-load/subscribers","subscription_url":"https://api.github.com/repos/digitalcreations/angular-load/subscription","commits_url":"https://api.github.com/repos/digitalcreations/angular-load/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalcreations/angular-load/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalcreations/angular-load/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalcreations/angular-load/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalcreations/angular-load/contents/{+path}","compare_url":"https://api.github.com/repos/digitalcreations/angular-load/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalcreations/angular-load/merges","archive_url":"https://api.github.com/repos/digitalcreations/angular-load/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalcreations/angular-load/downloads","issues_url":"https://api.github.com/repos/digitalcreations/angular-load/issues{/number}","pulls_url":"https://api.github.com/repos/digitalcreations/angular-load/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalcreations/angular-load/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalcreations/angular-load/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalcreations/angular-load/labels{/name}","releases_url":"https://api.github.com/repos/digitalcreations/angular-load/releases{/id}","deployments_url":"https://api.github.com/repos/digitalcreations/angular-load/deployments","created_at":"2016-11-09T14:20:58Z","updated_at":"2016-11-09T14:21:00Z","pushed_at":"2016-11-10T08:54:36Z","git_url":"git://github.com/digitalcreations/angular-load.git","ssh_url":"git@github.com:digitalcreations/angular-load.git","clone_url":"https://github.com/digitalcreations/angular-load.git","svn_url":"https://github.com/digitalcreations/angular-load","homepage":null,"size":31,"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":"urish:master","ref":"master","sha":"d6f2aa50f8041681299aa40871795d9b4ed3cd3d","user":{"login":"urish","id":892318,"avatar_url":"https://avatars.githubusercontent.com/u/892318?v=3","gravatar_id":"","url":"https://api.github.com/users/urish","html_url":"https://github.com/urish","followers_url":"https://api.github.com/users/urish/followers","following_url":"https://api.github.com/users/urish/following{/other_user}","gists_url":"https://api.github.com/users/urish/gists{/gist_id}","starred_url":"https://api.github.com/users/urish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urish/subscriptions","organizations_url":"https://api.github.com/users/urish/orgs","repos_url":"https://api.github.com/users/urish/repos","events_url":"https://api.github.com/users/urish/events{/privacy}","received_events_url":"https://api.github.com/users/urish/received_events","type":"User","site_admin":false},"repo":{"id":17385011,"name":"angular-load","full_name":"urish/angular-load","owner":{"login":"urish","id":892318,"avatar_url":"https://avatars.githubusercontent.com/u/892318?v=3","gravatar_id":"","url":"https://api.github.com/users/urish","html_url":"https://github.com/urish","followers_url":"https://api.github.com/users/urish/followers","following_url":"https://api.github.com/users/urish/following{/other_user}","gists_url":"https://api.github.com/users/urish/gists{/gist_id}","starred_url":"https://api.github.com/users/urish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urish/subscriptions","organizations_url":"https://api.github.com/users/urish/orgs","repos_url":"https://api.github.com/users/urish/repos","events_url":"https://api.github.com/users/urish/events{/privacy}","received_events_url":"https://api.github.com/users/urish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/urish/angular-load","description":"Dynamically load scripts and css stylesheets in your Angular.JS app","fork":false,"url":"https://api.github.com/repos/urish/angular-load","forks_url":"https://api.github.com/repos/urish/angular-load/forks","keys_url":"https://api.github.com/repos/urish/angular-load/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urish/angular-load/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urish/angular-load/teams","hooks_url":"https://api.github.com/repos/urish/angular-load/hooks","issue_events_url":"https://api.github.com/repos/urish/angular-load/issues/events{/number}","events_url":"https://api.github.com/repos/urish/angular-load/events","assignees_url":"https://api.github.com/repos/urish/angular-load/assignees{/user}","branches_url":"https://api.github.com/repos/urish/angular-load/branches{/branch}","tags_url":"https://api.github.com/repos/urish/angular-load/tags","blobs_url":"https://api.github.com/repos/urish/angular-load/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urish/angular-load/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urish/angular-load/git/refs{/sha}","trees_url":"https://api.github.com/repos/urish/angular-load/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urish/angular-load/statuses/{sha}","languages_url":"https://api.github.com/repos/urish/angular-load/languages","stargazers_url":"https://api.github.com/repos/urish/angular-load/stargazers","contributors_url":"https://api.github.com/repos/urish/angular-load/contributors","subscribers_url":"https://api.github.com/repos/urish/angular-load/subscribers","subscription_url":"https://api.github.com/repos/urish/angular-load/subscription","commits_url":"https://api.github.com/repos/urish/angular-load/commits{/sha}","git_commits_url":"https://api.github.com/repos/urish/angular-load/git/commits{/sha}","comments_url":"https://api.github.com/repos/urish/angular-load/comments{/number}","issue_comment_url":"https://api.github.com/repos/urish/angular-load/issues/comments{/number}","contents_url":"https://api.github.com/repos/urish/angular-load/contents/{+path}","compare_url":"https://api.github.com/repos/urish/angular-load/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urish/angular-load/merges","archive_url":"https://api.github.com/repos/urish/angular-load/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urish/angular-load/downloads","issues_url":"https://api.github.com/repos/urish/angular-load/issues{/number}","pulls_url":"https://api.github.com/repos/urish/angular-load/pulls{/number}","milestones_url":"https://api.github.com/repos/urish/angular-load/milestones{/number}","notifications_url":"https://api.github.com/repos/urish/angular-load/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urish/angular-load/labels{/name}","releases_url":"https://api.github.com/repos/urish/angular-load/releases{/id}","deployments_url":"https://api.github.com/repos/urish/angular-load/deployments","created_at":"2014-03-04T00:21:46Z","updated_at":"2016-11-07T10:32:44Z","pushed_at":"2016-11-10T23:22:50Z","git_url":"git://github.com/urish/angular-load.git","ssh_url":"git@github.com:urish/angular-load.git","clone_url":"https://github.com/urish/angular-load.git","svn_url":"https://github.com/urish/angular-load","homepage":null,"size":30,"stargazers_count":213,"watchers_count":213,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":7,"forks":51,"open_issues":7,"watchers":213,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urish/angular-load/pulls/36"},"html":{"href":"https://github.com/urish/angular-load/pull/36"},"issue":{"href":"https://api.github.com/repos/urish/angular-load/issues/36"},"comments":{"href":"https://api.github.com/repos/urish/angular-load/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/urish/angular-load/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/urish/angular-load/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urish/angular-load/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/urish/angular-load/statuses/13d5ed9171db40eb46bebe9375407a7648745961"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"urish","id":892318,"avatar_url":"https://avatars.githubusercontent.com/u/892318?v=3","gravatar_id":"","url":"https://api.github.com/users/urish","html_url":"https://github.com/urish","followers_url":"https://api.github.com/users/urish/followers","following_url":"https://api.github.com/users/urish/following{/other_user}","gists_url":"https://api.github.com/users/urish/gists{/gist_id}","starred_url":"https://api.github.com/users/urish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urish/subscriptions","organizations_url":"https://api.github.com/users/urish/orgs","repos_url":"https://api.github.com/users/urish/repos","events_url":"https://api.github.com/users/urish/events{/privacy}","received_events_url":"https://api.github.com/users/urish/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":4,"deletions":4,"changed_files":3}}
{"actor":{"display_login":"urish"}}