{"action":"opened","issue":{"url":"https://api.github.com/repos/jdryg/angular-pdf-viewer/issues/9","labels_url":"https://api.github.com/repos/jdryg/angular-pdf-viewer/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/jdryg/angular-pdf-viewer/issues/9/comments","events_url":"https://api.github.com/repos/jdryg/angular-pdf-viewer/issues/9/events","html_url":"https://github.com/jdryg/angular-pdf-viewer/issues/9","id":92060420,"number":9,"title":"a.pdfViewerAPI.getNextZoomInScale is not a function (caused by \"undefined\")","user":{"login":"melashkov","id":4531844,"avatar_url":"https://avatars.githubusercontent.com/u/4531844?v=3","gravatar_id":"","url":"https://api.github.com/users/melashkov","html_url":"https://github.com/melashkov","followers_url":"https://api.github.com/users/melashkov/followers","following_url":"https://api.github.com/users/melashkov/following{/other_user}","gists_url":"https://api.github.com/users/melashkov/gists{/gist_id}","starred_url":"https://api.github.com/users/melashkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melashkov/subscriptions","organizations_url":"https://api.github.com/users/melashkov/orgs","repos_url":"https://api.github.com/users/melashkov/repos","events_url":"https://api.github.com/users/melashkov/events{/privacy}","received_events_url":"https://api.github.com/users/melashkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-30T10:56:02Z","updated_at":"2015-06-30T10:56:02Z","closed_at":null,"body":"I am getting very strange error, a.pdfViewerAPI.getNextZoomInScale is not a function (caused by \"undefined\")\r\n\r\nThe $scope.pdfViewerAPI = {}; is undefined, \r\n\r\nIt works as a demo but when I hook it up to my app I get this error.\r\nI use AngularJS v1.2.15;"}}