{"action":"created","issue":{"url":"https://api.github.com/repos/urish/angular-moment/issues/104","labels_url":"https://api.github.com/repos/urish/angular-moment/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/urish/angular-moment/issues/104/comments","events_url":"https://api.github.com/repos/urish/angular-moment/issues/104/events","html_url":"https://github.com/urish/angular-moment/issues/104","id":54015339,"number":104,"title":"TypeError: Cannot read property 'utc' of undefined","user":{"login":"jhonjairoroa87","id":619203,"avatar_url":"https://avatars.githubusercontent.com/u/619203?v=3","gravatar_id":"","url":"https://api.github.com/users/jhonjairoroa87","html_url":"https://github.com/jhonjairoroa87","followers_url":"https://api.github.com/users/jhonjairoroa87/followers","following_url":"https://api.github.com/users/jhonjairoroa87/following{/other_user}","gists_url":"https://api.github.com/users/jhonjairoroa87/gists{/gist_id}","starred_url":"https://api.github.com/users/jhonjairoroa87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhonjairoroa87/subscriptions","organizations_url":"https://api.github.com/users/jhonjairoroa87/orgs","repos_url":"https://api.github.com/users/jhonjairoroa87/repos","events_url":"https://api.github.com/users/jhonjairoroa87/events{/privacy}","received_events_url":"https://api.github.com/users/jhonjairoroa87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-12T02:26:31Z","updated_at":"2015-01-12T18:40:37Z","closed_at":null,"body":"I have just added angular-moment in my angularjs project and Im getting the error \"TypeError: Cannot read property 'utc' of undefined\"\r\n\r\nIn the following link I found out that the only option is to downgrade the momnetjs version: \r\n\r\nhttp://stackoverflow.com/questions/26642479/angular-moment-cannot-read-property-utc-of-undefined\r\n\r\n\"Apparently, since v2.4 moment is not a global object any more, which resulted in 'undefined' everytime angular-moment made a reference to moment.\r\n\r\nI switch to v.2.3.1, it works like a charm now\""},"comment":{"url":"https://api.github.com/repos/urish/angular-moment/issues/comments/69621025","html_url":"https://github.com/urish/angular-moment/issues/104#issuecomment-69621025","issue_url":"https://api.github.com/repos/urish/angular-moment/issues/104","id":69621025,"user":{"login":"jhonjairoroa87","id":619203,"avatar_url":"https://avatars.githubusercontent.com/u/619203?v=3","gravatar_id":"","url":"https://api.github.com/users/jhonjairoroa87","html_url":"https://github.com/jhonjairoroa87","followers_url":"https://api.github.com/users/jhonjairoroa87/followers","following_url":"https://api.github.com/users/jhonjairoroa87/following{/other_user}","gists_url":"https://api.github.com/users/jhonjairoroa87/gists{/gist_id}","starred_url":"https://api.github.com/users/jhonjairoroa87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhonjairoroa87/subscriptions","organizations_url":"https://api.github.com/users/jhonjairoroa87/orgs","repos_url":"https://api.github.com/users/jhonjairoroa87/repos","events_url":"https://api.github.com/users/jhonjairoroa87/events{/privacy}","received_events_url":"https://api.github.com/users/jhonjairoroa87/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T18:40:37Z","updated_at":"2015-01-12T18:40:37Z","body":"Yes I did."}}