{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular.js/pulls/comments/47222683","id":47222683,"diff_hunk":"@@ -362,7 +362,7 @@ function setupModuleLoader(window) {\n           component: function(name, options) {\n             function factory($injector) {\n               function makeInjectable(fn) {\n-                if (angular.isFunction(fn)) {\n+                if (isFunction(fn) || isArray(fn)) {","path":"src/loader.js","position":5,"original_position":5,"commit_id":"eaa0461c4bcb1c89e453b05aae6472c14713bc0a","original_commit_id":"eaa0461c4bcb1c89e453b05aae6472c14713bc0a","user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"body":"I would like to see that working in practice before I agree... I wonder if that other use ever worked... :-)","created_at":"2015-12-10T12:59:39Z","updated_at":"2015-12-10T12:59:39Z","html_url":"https://github.com/angular/angular.js/pull/13485#discussion_r47222683","pull_request_url":"https://api.github.com/repos/angular/angular.js/pulls/13485","_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments/47222683"},"html":{"href":"https://github.com/angular/angular.js/pull/13485#discussion_r47222683"},"pull_request":{"href":"https://api.github.com/repos/angular/angular.js/pulls/13485"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular.js/pulls/13485","id":53196698,"html_url":"https://github.com/angular/angular.js/pull/13485","diff_url":"https://github.com/angular/angular.js/pull/13485.diff","patch_url":"https://github.com/angular/angular.js/pull/13485.patch","issue_url":"https://api.github.com/repos/angular/angular.js/issues/13485","number":13485,"state":"open","locked":false,"title":"fix(Module): allow passing template/templateUrl in array notation","user":{"login":"shahata","id":1764161,"avatar_url":"https://avatars.githubusercontent.com/u/1764161?v=3","gravatar_id":"","url":"https://api.github.com/users/shahata","html_url":"https://github.com/shahata","followers_url":"https://api.github.com/users/shahata/followers","following_url":"https://api.github.com/users/shahata/following{/other_user}","gists_url":"https://api.github.com/users/shahata/gists{/gist_id}","starred_url":"https://api.github.com/users/shahata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahata/subscriptions","organizations_url":"https://api.github.com/users/shahata/orgs","repos_url":"https://api.github.com/users/shahata/repos","events_url":"https://api.github.com/users/shahata/events{/privacy}","received_events_url":"https://api.github.com/users/shahata/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-09T23:52:46Z","updated_at":"2015-12-10T12:59:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5e8115aa9f5e4150b46b546aa8380806b4d8faf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular.js/pulls/13485/commits","review_comments_url":"https://api.github.com/repos/angular/angular.js/pulls/13485/comments","review_comment_url":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/13485/comments","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/eaa0461c4bcb1c89e453b05aae6472c14713bc0a","head":{"label":"shahata:array-injectable-component","ref":"array-injectable-component","sha":"eaa0461c4bcb1c89e453b05aae6472c14713bc0a","user":{"login":"shahata","id":1764161,"avatar_url":"https://avatars.githubusercontent.com/u/1764161?v=3","gravatar_id":"","url":"https://api.github.com/users/shahata","html_url":"https://github.com/shahata","followers_url":"https://api.github.com/users/shahata/followers","following_url":"https://api.github.com/users/shahata/following{/other_user}","gists_url":"https://api.github.com/users/shahata/gists{/gist_id}","starred_url":"https://api.github.com/users/shahata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahata/subscriptions","organizations_url":"https://api.github.com/users/shahata/orgs","repos_url":"https://api.github.com/users/shahata/repos","events_url":"https://api.github.com/users/shahata/events{/privacy}","received_events_url":"https://api.github.com/users/shahata/received_events","type":"User","site_admin":false},"repo":{"id":18339380,"name":"angular.js","full_name":"shahata/angular.js","owner":{"login":"shahata","id":1764161,"avatar_url":"https://avatars.githubusercontent.com/u/1764161?v=3","gravatar_id":"","url":"https://api.github.com/users/shahata","html_url":"https://github.com/shahata","followers_url":"https://api.github.com/users/shahata/followers","following_url":"https://api.github.com/users/shahata/following{/other_user}","gists_url":"https://api.github.com/users/shahata/gists{/gist_id}","starred_url":"https://api.github.com/users/shahata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahata/subscriptions","organizations_url":"https://api.github.com/users/shahata/orgs","repos_url":"https://api.github.com/users/shahata/repos","events_url":"https://api.github.com/users/shahata/events{/privacy}","received_events_url":"https://api.github.com/users/shahata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shahata/angular.js","description":"","fork":true,"url":"https://api.github.com/repos/shahata/angular.js","forks_url":"https://api.github.com/repos/shahata/angular.js/forks","keys_url":"https://api.github.com/repos/shahata/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shahata/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shahata/angular.js/teams","hooks_url":"https://api.github.com/repos/shahata/angular.js/hooks","issue_events_url":"https://api.github.com/repos/shahata/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/shahata/angular.js/events","assignees_url":"https://api.github.com/repos/shahata/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/shahata/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/shahata/angular.js/tags","blobs_url":"https://api.github.com/repos/shahata/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shahata/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shahata/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/shahata/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shahata/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/shahata/angular.js/languages","stargazers_url":"https://api.github.com/repos/shahata/angular.js/stargazers","contributors_url":"https://api.github.com/repos/shahata/angular.js/contributors","subscribers_url":"https://api.github.com/repos/shahata/angular.js/subscribers","subscription_url":"https://api.github.com/repos/shahata/angular.js/subscription","commits_url":"https://api.github.com/repos/shahata/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/shahata/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/shahata/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/shahata/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/shahata/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/shahata/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shahata/angular.js/merges","archive_url":"https://api.github.com/repos/shahata/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shahata/angular.js/downloads","issues_url":"https://api.github.com/repos/shahata/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/shahata/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/shahata/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/shahata/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shahata/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/shahata/angular.js/releases{/id}","created_at":"2014-04-01T18:09:51Z","updated_at":"2015-04-21T20:43:27Z","pushed_at":"2015-12-09T23:52:25Z","git_url":"git://github.com/shahata/angular.js.git","ssh_url":"git@github.com:shahata/angular.js.git","clone_url":"https://github.com/shahata/angular.js.git","svn_url":"https://github.com/shahata/angular.js","homepage":"http://angularjs.org","size":69578,"stargazers_count":2,"watchers_count":2,"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":2,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"de9777d8193531472df4b57fdeb6650d7f7c1846","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":460078,"name":"angular.js","full_name":"angular/angular.js","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular.js","description":"HTML enhanced for web apps","fork":false,"url":"https://api.github.com/repos/angular/angular.js","forks_url":"https://api.github.com/repos/angular/angular.js/forks","keys_url":"https://api.github.com/repos/angular/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular.js/teams","hooks_url":"https://api.github.com/repos/angular/angular.js/hooks","issue_events_url":"https://api.github.com/repos/angular/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular.js/events","assignees_url":"https://api.github.com/repos/angular/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular.js/tags","blobs_url":"https://api.github.com/repos/angular/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular.js/languages","stargazers_url":"https://api.github.com/repos/angular/angular.js/stargazers","contributors_url":"https://api.github.com/repos/angular/angular.js/contributors","subscribers_url":"https://api.github.com/repos/angular/angular.js/subscribers","subscription_url":"https://api.github.com/repos/angular/angular.js/subscription","commits_url":"https://api.github.com/repos/angular/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular.js/merges","archive_url":"https://api.github.com/repos/angular/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular.js/downloads","issues_url":"https://api.github.com/repos/angular/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular.js/releases{/id}","created_at":"2010-01-06T00:34:37Z","updated_at":"2015-12-10T12:29:42Z","pushed_at":"2015-12-10T12:58:12Z","git_url":"git://github.com/angular/angular.js.git","ssh_url":"git@github.com:angular/angular.js.git","clone_url":"https://github.com/angular/angular.js.git","svn_url":"https://github.com/angular/angular.js","homepage":"http://angularjs.org","size":140612,"stargazers_count":44970,"watchers_count":44970,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20676,"mirror_url":null,"open_issues_count":1246,"forks":20676,"open_issues":1246,"watchers":44970,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/13485"},"html":{"href":"https://github.com/angular/angular.js/pull/13485"},"issue":{"href":"https://api.github.com/repos/angular/angular.js/issues/13485"},"comments":{"href":"https://api.github.com/repos/angular/angular.js/issues/13485/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular.js/pulls/13485/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular.js/pulls/13485/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular.js/statuses/eaa0461c4bcb1c89e453b05aae6472c14713bc0a"}}}}