{"action":"opened","issue":{"url":"https://api.github.com/repos/mwaylabs/generator-m-ionic/issues/372","repository_url":"https://api.github.com/repos/mwaylabs/generator-m-ionic","labels_url":"https://api.github.com/repos/mwaylabs/generator-m-ionic/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/mwaylabs/generator-m-ionic/issues/372/comments","events_url":"https://api.github.com/repos/mwaylabs/generator-m-ionic/issues/372/events","html_url":"https://github.com/mwaylabs/generator-m-ionic/issues/372","id":155051331,"number":372,"title":"'Ionic' not defined, 'ionic' in globals","user":{"login":"nevace","id":7416283,"avatar_url":"https://avatars.githubusercontent.com/u/7416283?v=3","gravatar_id":"","url":"https://api.github.com/users/nevace","html_url":"https://github.com/nevace","followers_url":"https://api.github.com/users/nevace/followers","following_url":"https://api.github.com/users/nevace/following{/other_user}","gists_url":"https://api.github.com/users/nevace/gists{/gist_id}","starred_url":"https://api.github.com/users/nevace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nevace/subscriptions","organizations_url":"https://api.github.com/users/nevace/orgs","repos_url":"https://api.github.com/users/nevace/repos","events_url":"https://api.github.com/users/nevace/events{/privacy}","received_events_url":"https://api.github.com/users/nevace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-16T15:15:34Z","updated_at":"2016-05-16T15:15:34Z","closed_at":null,"body":"I've just used the generator to install and get the eslint error Ionic not defined from lines 24 and 30 in user-ctrl.js..\r\n\r\n```Ionic.Auth.signup(this.user)\r\n\r\n    Ionic.Auth.login('basic', {'remember': true}, this.user)```\r\n\r\nChanging this to the below removes the error, presumably because of the eslintrc file\r\n\r\n```ionic.Auth.login('basic', {'remember': true}, this.user)```\r\n\r\n\r\n\r\n"}}