{"action":"created","comment":{"url":"https://api.github.com/repos/andrefyg/angular-training/pulls/comments/30914836","id":30914836,"diff_hunk":"@@ -1,9 +1,13 @@\n (function() {\n-  var app = angular.module('gemStore', []);\n+  var app = angular.module('gemStore', ['store-directives']);\n \n-  app.controller('StoreController', function(){\n-    this.products = gems;\n-  });\n+  app.controller('StoreController', ['$http', function($http){\n+    var store =  this;\n+    store.products = [];\n+    $http.get('/store-products.json').success(function(data) {\n+      store.products = data;","path":"gemstore/index.js","position":12,"original_position":12,"commit_id":"d82dbb61aa5affcfdeadc7b29f2f5640da3b8113","original_commit_id":"d82dbb61aa5affcfdeadc7b29f2f5640da3b8113","user":{"login":"Manfred-Diaz","id":12496824,"avatar_url":"https://avatars.githubusercontent.com/u/12496824?v=3","gravatar_id":"","url":"https://api.github.com/users/Manfred-Diaz","html_url":"https://github.com/Manfred-Diaz","followers_url":"https://api.github.com/users/Manfred-Diaz/followers","following_url":"https://api.github.com/users/Manfred-Diaz/following{/other_user}","gists_url":"https://api.github.com/users/Manfred-Diaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Manfred-Diaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manfred-Diaz/subscriptions","organizations_url":"https://api.github.com/users/Manfred-Diaz/orgs","repos_url":"https://api.github.com/users/Manfred-Diaz/repos","events_url":"https://api.github.com/users/Manfred-Diaz/events{/privacy}","received_events_url":"https://api.github.com/users/Manfred-Diaz/received_events","type":"User","site_admin":false},"body":"@andrefyg the asset was added before on [d82dbb6](https://github.com/Manfred-Diaz/angular-training/commit/d82dbb61aa5affcfdeadc7b29f2f5640da3b8113)","created_at":"2015-05-22T17:33:57Z","updated_at":"2015-05-22T17:33:57Z","html_url":"https://github.com/andrefyg/angular-training/pull/7#discussion_r30914836","pull_request_url":"https://api.github.com/repos/andrefyg/angular-training/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/andrefyg/angular-training/pulls/comments/30914836"},"html":{"href":"https://github.com/andrefyg/angular-training/pull/7#discussion_r30914836"},"pull_request":{"href":"https://api.github.com/repos/andrefyg/angular-training/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/andrefyg/angular-training/pulls/7","id":36044865,"html_url":"https://github.com/andrefyg/angular-training/pull/7","diff_url":"https://github.com/andrefyg/angular-training/pull/7.diff","patch_url":"https://github.com/andrefyg/angular-training/pull/7.patch","issue_url":"https://api.github.com/repos/andrefyg/angular-training/issues/7","number":7,"state":"open","locked":false,"title":"AT: Level 5 Completed","user":{"login":"Manfred-Diaz","id":12496824,"avatar_url":"https://avatars.githubusercontent.com/u/12496824?v=3","gravatar_id":"","url":"https://api.github.com/users/Manfred-Diaz","html_url":"https://github.com/Manfred-Diaz","followers_url":"https://api.github.com/users/Manfred-Diaz/followers","following_url":"https://api.github.com/users/Manfred-Diaz/following{/other_user}","gists_url":"https://api.github.com/users/Manfred-Diaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Manfred-Diaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manfred-Diaz/subscriptions","organizations_url":"https://api.github.com/users/Manfred-Diaz/orgs","repos_url":"https://api.github.com/users/Manfred-Diaz/repos","events_url":"https://api.github.com/users/Manfred-Diaz/events{/privacy}","received_events_url":"https://api.github.com/users/Manfred-Diaz/received_events","type":"User","site_admin":false},"body":"**DESCRIPTION**\r\nLevel 5 of Code School angular.js completed.\r\n\r\n**TO TEST**\r\nN/A","created_at":"2015-05-22T15:59:46Z","updated_at":"2015-05-22T17:33:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"673f07f50555f81ee62d53f0ab9acfbc1c3c176e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andrefyg/angular-training/pulls/7/commits","review_comments_url":"https://api.github.com/repos/andrefyg/angular-training/pulls/7/comments","review_comment_url":"https://api.github.com/repos/andrefyg/angular-training/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andrefyg/angular-training/issues/7/comments","statuses_url":"https://api.github.com/repos/andrefyg/angular-training/statuses/d82dbb61aa5affcfdeadc7b29f2f5640da3b8113","head":{"label":"Manfred-Diaz:level5","ref":"level5","sha":"d82dbb61aa5affcfdeadc7b29f2f5640da3b8113","user":{"login":"Manfred-Diaz","id":12496824,"avatar_url":"https://avatars.githubusercontent.com/u/12496824?v=3","gravatar_id":"","url":"https://api.github.com/users/Manfred-Diaz","html_url":"https://github.com/Manfred-Diaz","followers_url":"https://api.github.com/users/Manfred-Diaz/followers","following_url":"https://api.github.com/users/Manfred-Diaz/following{/other_user}","gists_url":"https://api.github.com/users/Manfred-Diaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Manfred-Diaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manfred-Diaz/subscriptions","organizations_url":"https://api.github.com/users/Manfred-Diaz/orgs","repos_url":"https://api.github.com/users/Manfred-Diaz/repos","events_url":"https://api.github.com/users/Manfred-Diaz/events{/privacy}","received_events_url":"https://api.github.com/users/Manfred-Diaz/received_events","type":"User","site_admin":false},"repo":{"id":36033529,"name":"angular-training","full_name":"Manfred-Diaz/angular-training","owner":{"login":"Manfred-Diaz","id":12496824,"avatar_url":"https://avatars.githubusercontent.com/u/12496824?v=3","gravatar_id":"","url":"https://api.github.com/users/Manfred-Diaz","html_url":"https://github.com/Manfred-Diaz","followers_url":"https://api.github.com/users/Manfred-Diaz/followers","following_url":"https://api.github.com/users/Manfred-Diaz/following{/other_user}","gists_url":"https://api.github.com/users/Manfred-Diaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Manfred-Diaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manfred-Diaz/subscriptions","organizations_url":"https://api.github.com/users/Manfred-Diaz/orgs","repos_url":"https://api.github.com/users/Manfred-Diaz/repos","events_url":"https://api.github.com/users/Manfred-Diaz/events{/privacy}","received_events_url":"https://api.github.com/users/Manfred-Diaz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Manfred-Diaz/angular-training","description":"Jobsity Angular Training","fork":true,"url":"https://api.github.com/repos/Manfred-Diaz/angular-training","forks_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/forks","keys_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/teams","hooks_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/hooks","issue_events_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/issues/events{/number}","events_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/events","assignees_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/assignees{/user}","branches_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/branches{/branch}","tags_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/tags","blobs_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/git/refs{/sha}","trees_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/statuses/{sha}","languages_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/languages","stargazers_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/stargazers","contributors_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/contributors","subscribers_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/subscribers","subscription_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/subscription","commits_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/commits{/sha}","git_commits_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/git/commits{/sha}","comments_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/comments{/number}","issue_comment_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/issues/comments{/number}","contents_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/contents/{+path}","compare_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/merges","archive_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/downloads","issues_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/issues{/number}","pulls_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/pulls{/number}","milestones_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/milestones{/number}","notifications_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/labels{/name}","releases_url":"https://api.github.com/repos/Manfred-Diaz/angular-training/releases{/id}","created_at":"2015-05-21T19:37:10Z","updated_at":"2015-05-22T15:29:24Z","pushed_at":"2015-05-22T16:40:29Z","git_url":"git://github.com/Manfred-Diaz/angular-training.git","ssh_url":"git@github.com:Manfred-Diaz/angular-training.git","clone_url":"https://github.com/Manfred-Diaz/angular-training.git","svn_url":"https://github.com/Manfred-Diaz/angular-training","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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":"andrefyg:manfred_diaz","ref":"manfred_diaz","sha":"fdc63dfa510f0c86478471a86c8a743673a94ce5","user":{"login":"andrefyg","id":186546,"avatar_url":"https://avatars.githubusercontent.com/u/186546?v=3","gravatar_id":"","url":"https://api.github.com/users/andrefyg","html_url":"https://github.com/andrefyg","followers_url":"https://api.github.com/users/andrefyg/followers","following_url":"https://api.github.com/users/andrefyg/following{/other_user}","gists_url":"https://api.github.com/users/andrefyg/gists{/gist_id}","starred_url":"https://api.github.com/users/andrefyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrefyg/subscriptions","organizations_url":"https://api.github.com/users/andrefyg/orgs","repos_url":"https://api.github.com/users/andrefyg/repos","events_url":"https://api.github.com/users/andrefyg/events{/privacy}","received_events_url":"https://api.github.com/users/andrefyg/received_events","type":"User","site_admin":false},"repo":{"id":36024297,"name":"angular-training","full_name":"andrefyg/angular-training","owner":{"login":"andrefyg","id":186546,"avatar_url":"https://avatars.githubusercontent.com/u/186546?v=3","gravatar_id":"","url":"https://api.github.com/users/andrefyg","html_url":"https://github.com/andrefyg","followers_url":"https://api.github.com/users/andrefyg/followers","following_url":"https://api.github.com/users/andrefyg/following{/other_user}","gists_url":"https://api.github.com/users/andrefyg/gists{/gist_id}","starred_url":"https://api.github.com/users/andrefyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrefyg/subscriptions","organizations_url":"https://api.github.com/users/andrefyg/orgs","repos_url":"https://api.github.com/users/andrefyg/repos","events_url":"https://api.github.com/users/andrefyg/events{/privacy}","received_events_url":"https://api.github.com/users/andrefyg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrefyg/angular-training","description":"Jobsity Angular Training","fork":false,"url":"https://api.github.com/repos/andrefyg/angular-training","forks_url":"https://api.github.com/repos/andrefyg/angular-training/forks","keys_url":"https://api.github.com/repos/andrefyg/angular-training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrefyg/angular-training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrefyg/angular-training/teams","hooks_url":"https://api.github.com/repos/andrefyg/angular-training/hooks","issue_events_url":"https://api.github.com/repos/andrefyg/angular-training/issues/events{/number}","events_url":"https://api.github.com/repos/andrefyg/angular-training/events","assignees_url":"https://api.github.com/repos/andrefyg/angular-training/assignees{/user}","branches_url":"https://api.github.com/repos/andrefyg/angular-training/branches{/branch}","tags_url":"https://api.github.com/repos/andrefyg/angular-training/tags","blobs_url":"https://api.github.com/repos/andrefyg/angular-training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrefyg/angular-training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrefyg/angular-training/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrefyg/angular-training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrefyg/angular-training/statuses/{sha}","languages_url":"https://api.github.com/repos/andrefyg/angular-training/languages","stargazers_url":"https://api.github.com/repos/andrefyg/angular-training/stargazers","contributors_url":"https://api.github.com/repos/andrefyg/angular-training/contributors","subscribers_url":"https://api.github.com/repos/andrefyg/angular-training/subscribers","subscription_url":"https://api.github.com/repos/andrefyg/angular-training/subscription","commits_url":"https://api.github.com/repos/andrefyg/angular-training/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrefyg/angular-training/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrefyg/angular-training/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrefyg/angular-training/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrefyg/angular-training/contents/{+path}","compare_url":"https://api.github.com/repos/andrefyg/angular-training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrefyg/angular-training/merges","archive_url":"https://api.github.com/repos/andrefyg/angular-training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrefyg/angular-training/downloads","issues_url":"https://api.github.com/repos/andrefyg/angular-training/issues{/number}","pulls_url":"https://api.github.com/repos/andrefyg/angular-training/pulls{/number}","milestones_url":"https://api.github.com/repos/andrefyg/angular-training/milestones{/number}","notifications_url":"https://api.github.com/repos/andrefyg/angular-training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrefyg/angular-training/labels{/name}","releases_url":"https://api.github.com/repos/andrefyg/angular-training/releases{/id}","created_at":"2015-05-21T16:27:50Z","updated_at":"2015-05-21T16:27:50Z","pushed_at":"2015-05-22T17:17:56Z","git_url":"git://github.com/andrefyg/angular-training.git","ssh_url":"git@github.com:andrefyg/angular-training.git","clone_url":"https://github.com/andrefyg/angular-training.git","svn_url":"https://github.com/andrefyg/angular-training","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andrefyg/angular-training/pulls/7"},"html":{"href":"https://github.com/andrefyg/angular-training/pull/7"},"issue":{"href":"https://api.github.com/repos/andrefyg/angular-training/issues/7"},"comments":{"href":"https://api.github.com/repos/andrefyg/angular-training/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/andrefyg/angular-training/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/andrefyg/angular-training/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andrefyg/angular-training/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/andrefyg/angular-training/statuses/d82dbb61aa5affcfdeadc7b29f2f5640da3b8113"}}}}