{"action":"created","issue":{"url":"https://api.github.com/repos/passy/angular-masonry/issues/171","repository_url":"https://api.github.com/repos/passy/angular-masonry","labels_url":"https://api.github.com/repos/passy/angular-masonry/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/passy/angular-masonry/issues/171/comments","events_url":"https://api.github.com/repos/passy/angular-masonry/issues/171/events","html_url":"https://github.com/passy/angular-masonry/issues/171","id":144571707,"number":171,"title":"Cannot read property 'Item' of undefined","user":{"login":"aviadhahami","id":7353632,"avatar_url":"https://avatars.githubusercontent.com/u/7353632?v=3","gravatar_id":"","url":"https://api.github.com/users/aviadhahami","html_url":"https://github.com/aviadhahami","followers_url":"https://api.github.com/users/aviadhahami/followers","following_url":"https://api.github.com/users/aviadhahami/following{/other_user}","gists_url":"https://api.github.com/users/aviadhahami/gists{/gist_id}","starred_url":"https://api.github.com/users/aviadhahami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviadhahami/subscriptions","organizations_url":"https://api.github.com/users/aviadhahami/orgs","repos_url":"https://api.github.com/users/aviadhahami/repos","events_url":"https://api.github.com/users/aviadhahami/events{/privacy}","received_events_url":"https://api.github.com/users/aviadhahami/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-30T12:22:02Z","updated_at":"2016-04-22T15:29:48Z","closed_at":null,"body":"Hi!\r\nOnce I try to run this directive - without doing anything, just injecting it - I receive this:\r\n![image](https://cloud.githubusercontent.com/assets/7353632/14141939/1de8d59c-f68b-11e5-83c5-8f261f5e40ea.png)\r\n\r\nany clue how to solve this?"},"comment":{"url":"https://api.github.com/repos/passy/angular-masonry/issues/comments/213474899","html_url":"https://github.com/passy/angular-masonry/issues/171#issuecomment-213474899","issue_url":"https://api.github.com/repos/passy/angular-masonry/issues/171","id":213474899,"user":{"login":"macdonaldr93","id":5184848,"avatar_url":"https://avatars.githubusercontent.com/u/5184848?v=3","gravatar_id":"","url":"https://api.github.com/users/macdonaldr93","html_url":"https://github.com/macdonaldr93","followers_url":"https://api.github.com/users/macdonaldr93/followers","following_url":"https://api.github.com/users/macdonaldr93/following{/other_user}","gists_url":"https://api.github.com/users/macdonaldr93/gists{/gist_id}","starred_url":"https://api.github.com/users/macdonaldr93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macdonaldr93/subscriptions","organizations_url":"https://api.github.com/users/macdonaldr93/orgs","repos_url":"https://api.github.com/users/macdonaldr93/repos","events_url":"https://api.github.com/users/macdonaldr93/events{/privacy}","received_events_url":"https://api.github.com/users/macdonaldr93/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T15:29:48Z","updated_at":"2016-04-22T15:29:48Z","body":"I ended up having to add overrides to my wiredep too. Forgot to include that. Here's what my gulp task looks like now.\r\n\r\n```javascript\r\n// inject bower components\r\ngulp.task('wiredep:client', () => {\r\n    return gulp.src(paths.client.mainView)\r\n        .pipe(wiredep({\r\n            \"overrides\": {\r\n              \"isotope\": {\r\n                \"main\": [\r\n                  \"js/item.js\",\r\n                  \"js/layout-mode.js\",\r\n                  \"js/isotope.js\",\r\n                  \"js/layout-modes/vertical.js\",\r\n                  \"js/layout-modes/fit-rows.js\",\r\n                  \"js/layout-modes/masonry.js\"\r\n                ]\r\n              },\r\n              \"outlayer\": {\r\n                \"main\": [\r\n                  \"item.js\",\r\n                  \"outlayer.js\"\r\n                ]\r\n              }\r\n            },\r\n            exclude: [\r\n                /bootstrap-sass-official/,\r\n                /bootstrap.js/,\r\n                /json3/,\r\n                /es5-shim/,\r\n                /bootstrap.css/,\r\n                /font-awesome.css/\r\n            ],\r\n            ignorePath: clientPath\r\n        }))\r\n        .pipe(gulp.dest(`${clientPath}/`));\r\n});\r\n```"}}