{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1349","repository_url":"https://api.github.com/repos/Urigo/angular-meteor","labels_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1349/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1349/comments","events_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1349/events","html_url":"https://github.com/Urigo/angular-meteor/issues/1349","id":152028368,"number":1349,"title":"Accounts.user is not a function","user":{"login":"kevinfiraguay","id":5229449,"avatar_url":"https://avatars.githubusercontent.com/u/5229449?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinfiraguay","html_url":"https://github.com/kevinfiraguay","followers_url":"https://api.github.com/users/kevinfiraguay/followers","following_url":"https://api.github.com/users/kevinfiraguay/following{/other_user}","gists_url":"https://api.github.com/users/kevinfiraguay/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinfiraguay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinfiraguay/subscriptions","organizations_url":"https://api.github.com/users/kevinfiraguay/orgs","repos_url":"https://api.github.com/users/kevinfiraguay/repos","events_url":"https://api.github.com/users/kevinfiraguay/events{/privacy}","received_events_url":"https://api.github.com/users/kevinfiraguay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-30T12:37:17Z","updated_at":"2016-04-30T15:46:03Z","closed_at":null,"body":"Hi,\r\nI use angular application for my client app outside meteor, and use meteor only server side, using angular-client-side to connect to meteor. I have an application with angular-meteor 1.3.2 and it works well that way. I tried to upgrade angular-meteor to version to 1.3.9, upgrade meteor to 1.3.1 and angular-client-side to 1.3.1. \r\n\r\nWhen I run the application, it throws \"Accounts.user is not a function\" before the applications start\r\ncoming from the line 92 in the angular-meteor-auth.js file \r\n`   vm.currentUser = Accounts.user();`\r\n if I check the object, indeed there is no function named user in the Accounts object.\r\nis anyone knows what i'm doing wrong?\r\nThanks for your help"},"comment":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/comments/215974367","html_url":"https://github.com/Urigo/angular-meteor/issues/1349#issuecomment-215974367","issue_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1349","id":215974367,"user":{"login":"kevinfiraguay","id":5229449,"avatar_url":"https://avatars.githubusercontent.com/u/5229449?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinfiraguay","html_url":"https://github.com/kevinfiraguay","followers_url":"https://api.github.com/users/kevinfiraguay/followers","following_url":"https://api.github.com/users/kevinfiraguay/following{/other_user}","gists_url":"https://api.github.com/users/kevinfiraguay/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinfiraguay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinfiraguay/subscriptions","organizations_url":"https://api.github.com/users/kevinfiraguay/orgs","repos_url":"https://api.github.com/users/kevinfiraguay/repos","events_url":"https://api.github.com/users/kevinfiraguay/events{/privacy}","received_events_url":"https://api.github.com/users/kevinfiraguay/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T15:46:03Z","updated_at":"2016-04-30T15:46:03Z","body":"If it helps, i tried to reproduce the problem with minimal packages. \r\n\r\n{\r\n  \"name\": \"test_bundle\",\r\n  \"description\": \"\",\r\n  \"license\": \"MIT\",\r\n  \"dependencies\": {\r\n    \"meteor-client-side\": \"=1.2.1\",\r\n    \"accounts-password-client-side\": \"=0.3.1\",\r\n    \"accounts-base-client-side\": \"=0.1.1\",\r\n    \"angular-meteor\": \"=1.3.6\",\r\n    \"angular-meteor-auth\": \"=0.2.2\"\r\n  }\r\n}\r\n\r\nStill the same error : \r\n\r\n`angular.js:12416 TypeError: Accounts.user is not a function`\r\n\r\nbut it works well with the same on 1.3.5. when the auth package is a part of angular-meteor. Does anyone make accounts-base-client-side working with angular-meteor-auth?\r\n\r\nThanks"}}