{"action":"created","issue":{"url":"https://api.github.com/repos/dbaq/angularjs-google-directions/issues/3","labels_url":"https://api.github.com/repos/dbaq/angularjs-google-directions/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dbaq/angularjs-google-directions/issues/3/comments","events_url":"https://api.github.com/repos/dbaq/angularjs-google-directions/issues/3/events","html_url":"https://github.com/dbaq/angularjs-google-directions/issues/3","id":71674821,"number":3,"title":"Angularjs google direction throws error googleDirections.getDirections is not a function","user":{"login":"Pinsonbavard","id":6134716,"avatar_url":"https://avatars.githubusercontent.com/u/6134716?v=3","gravatar_id":"","url":"https://api.github.com/users/Pinsonbavard","html_url":"https://github.com/Pinsonbavard","followers_url":"https://api.github.com/users/Pinsonbavard/followers","following_url":"https://api.github.com/users/Pinsonbavard/following{/other_user}","gists_url":"https://api.github.com/users/Pinsonbavard/gists{/gist_id}","starred_url":"https://api.github.com/users/Pinsonbavard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pinsonbavard/subscriptions","organizations_url":"https://api.github.com/users/Pinsonbavard/orgs","repos_url":"https://api.github.com/users/Pinsonbavard/repos","events_url":"https://api.github.com/users/Pinsonbavard/events{/privacy}","received_events_url":"https://api.github.com/users/Pinsonbavard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-28T19:06:36Z","updated_at":"2015-04-30T17:15:07Z","closed_at":null,"body":"I tried using this dependency to get all Google direction from a start address to a destination but it throws this error, please help resolve this."},"comment":{"url":"https://api.github.com/repos/dbaq/angularjs-google-directions/issues/comments/97884668","html_url":"https://github.com/dbaq/angularjs-google-directions/issues/3#issuecomment-97884668","issue_url":"https://api.github.com/repos/dbaq/angularjs-google-directions/issues/3","id":97884668,"user":{"login":"dbaq","id":1867703,"avatar_url":"https://avatars.githubusercontent.com/u/1867703?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaq","html_url":"https://github.com/dbaq","followers_url":"https://api.github.com/users/dbaq/followers","following_url":"https://api.github.com/users/dbaq/following{/other_user}","gists_url":"https://api.github.com/users/dbaq/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaq/subscriptions","organizations_url":"https://api.github.com/users/dbaq/orgs","repos_url":"https://api.github.com/users/dbaq/repos","events_url":"https://api.github.com/users/dbaq/events{/privacy}","received_events_url":"https://api.github.com/users/dbaq/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T17:15:07Z","updated_at":"2015-04-30T17:15:07Z","body":"hey @Pinsonbavard,\r\n\r\nmake sure to include the google library before all the other JS files, see ```Usage``` section in the Readme.md\r\n```Include the Google Maps JS library in your app```\r\n\r\n```<script type=\"text/javascript\" src=\"http://maps.googleapis.com/maps/api/js?libraries=places&sensor=true\"></script>\r\n\r\n"}}