{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/ember-intl/issues/48","labels_url":"https://api.github.com/repos/yahoo/ember-intl/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/ember-intl/issues/48/comments","events_url":"https://api.github.com/repos/yahoo/ember-intl/issues/48/events","html_url":"https://github.com/yahoo/ember-intl/issues/48","id":58264877,"number":48,"title":"Using formatNumber in controller causes error","user":{"login":"terryroe","id":59881,"avatar_url":"https://avatars.githubusercontent.com/u/59881?v=3","gravatar_id":"","url":"https://api.github.com/users/terryroe","html_url":"https://github.com/terryroe","followers_url":"https://api.github.com/users/terryroe/followers","following_url":"https://api.github.com/users/terryroe/following{/other_user}","gists_url":"https://api.github.com/users/terryroe/gists{/gist_id}","starred_url":"https://api.github.com/users/terryroe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terryroe/subscriptions","organizations_url":"https://api.github.com/users/terryroe/orgs","repos_url":"https://api.github.com/users/terryroe/repos","events_url":"https://api.github.com/users/terryroe/events{/privacy}","received_events_url":"https://api.github.com/users/terryroe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-19T20:27:25Z","updated_at":"2015-02-19T21:13:10Z","closed_at":null,"body":"```\r\nember -v\r\nversion: 0.1.15\r\nnode: 0.10.35\r\nnpm: 2.1.8\r\n```\r\n\r\nConsole Output\r\n```\r\n$E.intl.formatNumber(1000)\r\nintl.js:132 Uncaught TypeError: Cannot read property 'locales' of undefined \r\nintl.js:132 exports.default.ServiceKlass.extend._format\r\nintl.js:123 exports.default.ServiceKlass.extend.formatNumber\r\nVM6635:2 (anonymous function)\r\nVM6491:777 InjectedScript._evaluateOn\r\nVM6491:710 InjectedScript._evaluateAndWrap\r\nVM6491:626 InjectedScript.evaluate\r\n```\r\n\r\nI used the Application Controller for $E above.  Not sure if use of this function is supported in controllers, but it looks to me like it is."},"comment":{"url":"https://api.github.com/repos/yahoo/ember-intl/issues/comments/75137096","html_url":"https://github.com/yahoo/ember-intl/issues/48#issuecomment-75137096","issue_url":"https://api.github.com/repos/yahoo/ember-intl/issues/48","id":75137096,"user":{"login":"terryroe","id":59881,"avatar_url":"https://avatars.githubusercontent.com/u/59881?v=3","gravatar_id":"","url":"https://api.github.com/users/terryroe","html_url":"https://github.com/terryroe","followers_url":"https://api.github.com/users/terryroe/followers","following_url":"https://api.github.com/users/terryroe/following{/other_user}","gists_url":"https://api.github.com/users/terryroe/gists{/gist_id}","starred_url":"https://api.github.com/users/terryroe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terryroe/subscriptions","organizations_url":"https://api.github.com/users/terryroe/orgs","repos_url":"https://api.github.com/users/terryroe/repos","events_url":"https://api.github.com/users/terryroe/events{/privacy}","received_events_url":"https://api.github.com/users/terryroe/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T21:13:10Z","updated_at":"2015-02-19T21:13:10Z","body":"Sorry Jason.  I should have thought to include the ember version.  It's 1.10.0.  I'm sorry, I don't have a public branch with this.  All of the other formatters produce the same error.  They are all on a line like this:  \r\n```\r\n var locales = makeArray(options.locales);\r\n```"}}