{"action":"created","issue":{"url":"https://api.github.com/repos/ocombe/ocLazyLoad/issues/132","labels_url":"https://api.github.com/repos/ocombe/ocLazyLoad/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/ocombe/ocLazyLoad/issues/132/comments","events_url":"https://api.github.com/repos/ocombe/ocLazyLoad/issues/132/events","html_url":"https://github.com/ocombe/ocLazyLoad/issues/132","id":58127936,"number":132,"title":"Can't load module oc.lazyLoad","user":{"login":"mlwils0","id":11066006,"avatar_url":"https://avatars.githubusercontent.com/u/11066006?v=3","gravatar_id":"","url":"https://api.github.com/users/mlwils0","html_url":"https://github.com/mlwils0","followers_url":"https://api.github.com/users/mlwils0/followers","following_url":"https://api.github.com/users/mlwils0/following{/other_user}","gists_url":"https://api.github.com/users/mlwils0/gists{/gist_id}","starred_url":"https://api.github.com/users/mlwils0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlwils0/subscriptions","organizations_url":"https://api.github.com/users/mlwils0/orgs","repos_url":"https://api.github.com/users/mlwils0/repos","events_url":"https://api.github.com/users/mlwils0/events{/privacy}","received_events_url":"https://api.github.com/users/mlwils0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ocombe/ocLazyLoad/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-18T21:06:07Z","updated_at":"2015-02-26T23:17:18Z","closed_at":"2015-02-26T22:50:28Z","body":"\"data\" variable, in \"signature\" function, is null:\r\n        var signature = function (data) {\r\n            if (angular.isArray(data)) { // arrays are objects, we need to test for it first\r\n                return data.toString();\r\n            } else if (angular.isObject(data)) { // constants & values for example\r\n                return JSON.stringify(data);\r\n            } else {\r\n                return data.toString(); <----------------------This is where the error occurs\r\n            }\r\n        };\r\n\r\n\r\nStackTrace: \r\nUncaught Error: [$injector:modulerr] Failed to instantiate module admin_module due to:\r\nError: [$injector:modulerr] Failed to instantiate module oc.lazyLoad due to:\r\nTypeError: Cannot read property 'toString' of null\r\n    at signature (http://localhost:51983/Scripts/ocLazyLoad.js:859:28)\r\n    at registerInvokeList (http://localhost:51983/Scripts/ocLazyLoad.js:866:66)\r\n    at invokeQueue (http://localhost:51983/Scripts/ocLazyLoad.js:755:29)\r\n    at addReg (http://localhost:51983/Scripts/ocLazyLoad.js:948:17)\r\n    at Object.forEach (http://localhost:51983/Scripts/angular.js:323:20)\r\n    at addReg (http://localhost:51983/Scripts/ocLazyLoad.js:951:25)\r\n    at Object.forEach (http://localhost:51983/Scripts/angular.js:323:20)\r\n    at addReg (http://localhost:51983/Scripts/ocLazyLoad.js:951:25)\r\n    at http://localhost:51983/Scripts/ocLazyLoad.js:956:13\r\n    at Object.forEach (http://localhost:51983/Scripts/angular.js:323:20)\r\nhttp://errors.angularjs.org/1.3.13/$injector/modulerr?p0=oc.lazyLoad&p1=Typ…orEach%20(http%3A%2F%2Flocalhost%3A51983%2FScripts%2Fangular.js%3A323%3A20)\r\n    at http://localhost:51983/Scripts/angular.js:63:12\r\n    at http://localhost:51983/Scripts/angular.js:4120:15\r\n    at forEach (http://localhost:51983/Scripts/angular.js:323:20)\r\n    at loadModules (http://localhost:51983/Scripts/angular.js:4081:5)\r\n    at http://localhost:51983/Scripts/angular.js:4098:40\r\n    at forEach (http://localhost:51983/Scripts/angular.js:323:20)\r\n    at loadModules (http://localhost:51983/Scripts/angular.js:4081:5)\r\n    at createInjector (http://localhost:51983/Scripts/angular.js:4007:11)\r\n    at doBootstrap (http://localhost:51983/Scripts/angular.js:1445:20)\r\n    at bootstrap (http://localhost:51983/Scripts/angular.js:1466:12)"},"comment":{"url":"https://api.github.com/repos/ocombe/ocLazyLoad/issues/comments/76296723","html_url":"https://github.com/ocombe/ocLazyLoad/issues/132#issuecomment-76296723","issue_url":"https://api.github.com/repos/ocombe/ocLazyLoad/issues/132","id":76296723,"user":{"login":"ocombe","id":265378,"avatar_url":"https://avatars.githubusercontent.com/u/265378?v=3","gravatar_id":"","url":"https://api.github.com/users/ocombe","html_url":"https://github.com/ocombe","followers_url":"https://api.github.com/users/ocombe/followers","following_url":"https://api.github.com/users/ocombe/following{/other_user}","gists_url":"https://api.github.com/users/ocombe/gists{/gist_id}","starred_url":"https://api.github.com/users/ocombe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocombe/subscriptions","organizations_url":"https://api.github.com/users/ocombe/orgs","repos_url":"https://api.github.com/users/ocombe/repos","events_url":"https://api.github.com/users/ocombe/events{/privacy}","received_events_url":"https://api.github.com/users/ocombe/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T23:17:17Z","updated_at":"2015-02-26T23:17:17Z","body":"It should be fixed in 0.6.0!"}}